Skip to content

Commit

Permalink
ci: fix working dir script
Browse files Browse the repository at this point in the history
  • Loading branch information
oscb committed Feb 28, 2022
1 parent acc0b09 commit 9fbc221
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,10 @@ jobs:
run: |
if ${IS_PLUGIN}; then
echo "DIR=packages/plugins/${{github.event.inputs.workspace}}" >> $GITHUB_ENV
elif ${IS_PUSH}; then
echo "DIR=packages/core" >> $GITHUB_ENV
else
if ${IS_PUSH}; then
echo "DIR=packages/core" >> $GITHUB_ENV
else
echo "DIR=packages/${{github.event.inputs.workspace}}" >> $GITHUB_ENV
echo "DIR=packages/${{github.event.inputs.workspace}}" >> $GITHUB_ENV
fi
echo "Setting working directory to: WORKSPACE=$DIR"
Expand Down

0 comments on commit 9fbc221

Please sign in to comment.