Skip to content

Commit

Permalink
ci(release): fix dry-run check (#463)
Browse files Browse the repository at this point in the history
  • Loading branch information
joergmann authored Jan 14, 2025
1 parent 43b6c62 commit 4051b89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
registry-url: https://registry.npmjs.org/

- name: Run Unit Tests
if: ${{ github.event.inputs.dry-run == 'false' }}
if: ${{ github.event.inputs.dry-run != 'true' }}
run: |
npm ci
npm run test
Expand All @@ -99,7 +99,7 @@ jobs:
title-regex: '^##\s+\[\d.*$'

- name: Create a GitHub release
if: ${{ github.event.inputs.dry-run == 'false' }}
if: ${{ github.event.inputs.dry-run != 'true' }}
uses: ncipollo/release-action@v1
with:
tag: 'v${{ steps.get-version.outputs.version }}'
Expand Down

0 comments on commit 4051b89

Please sign in to comment.