Skip to content

Commit

Permalink
refined
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac Yang committed Oct 9, 2024
1 parent 5fa1447 commit 1c66510
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/forge-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
echo "Branch: ${{ github.ref_name }}"
echo "BRANCH=${{ github.ref_name }}" >> $GITHUB_OUTPUT
# on workflow_dispatch, this will simply use the inputs.GIT_SHA given (or the default)
elif [ -n "${{ inputs.GIT_SHA }}" ]; then
elif [[ -n "${{ inputs.GIT_SHA }}" ]]; then
echo "BRANCH=${{ inputs.GIT_SHA }}" >> $GITHUB_OUTPUT
# if GIT_SHA not provided, use the branch where workflow runs on
else
Expand Down

0 comments on commit 1c66510

Please sign in to comment.