Skip to content

Commit

Permalink
Change the conditional logic so it hopefully works.
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidtw committed Apr 1, 2024
1 parent c97ff2e commit 6a6e283
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1003,11 +1003,11 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Update --skip-publish if needed
if: |
${{ inputs.release-skip-publish }} == "--skip-publish"
shell: bash
run: |
echo "SKIP_PUBLISH=--skip=publish" >> $GITHUB_ENV
if [[ "${{ inputs.release-skip-publish }}" == "--skip-publish" ]]; then
echo "SKIP_PUBLISH=--skip=publish" >> $GITHUB_ENV
fi
- name: Generate the Release
if: success() && startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit 6a6e283

Please sign in to comment.