Skip to content

Commit

Permalink
Fix expression for the falsy outcome
Browse files Browse the repository at this point in the history
  • Loading branch information
marcofranssen committed Oct 18, 2021
1 parent 2c4e21f commit d52cec8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,11 @@ jobs:
fi
rm -f /tmp/spiffe-vault-release-vars.env
- name: Release ${{ !startsWith(github.ref, 'refs/tags/') && 'snapshot' }}
- name: Release ${{ (!startsWith(github.ref, 'refs/tags/') && 'snapshot') || '' }}
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist ${{ !startsWith(github.ref, 'refs/tags/') && '--snapshot' }}
args: release --rm-dist ${{ (!startsWith(github.ref, 'refs/tags/') && '--snapshot') || '' }}
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
LDFLAGS: ${{ steps.release-vars.outputs.LDFLAGS }}
Expand Down

0 comments on commit d52cec8

Please sign in to comment.