Skip to content

Commit 9fbc221

Browse files
committed
ci: fix working dir script
1 parent acc0b09 commit 9fbc221

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,10 @@ jobs:
4545
run: |
4646
if ${IS_PLUGIN}; then
4747
echo "DIR=packages/plugins/${{github.event.inputs.workspace}}" >> $GITHUB_ENV
48+
elif ${IS_PUSH}; then
49+
echo "DIR=packages/core" >> $GITHUB_ENV
4850
else
49-
if ${IS_PUSH}; then
50-
echo "DIR=packages/core" >> $GITHUB_ENV
51-
else
52-
echo "DIR=packages/${{github.event.inputs.workspace}}" >> $GITHUB_ENV
51+
echo "DIR=packages/${{github.event.inputs.workspace}}" >> $GITHUB_ENV
5352
fi
5453
echo "Setting working directory to: WORKSPACE=$DIR"
5554

0 commit comments

Comments
 (0)