Skip to content

Commit

Permalink
ci: release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tsi committed Dec 25, 2023
1 parent 631be70 commit 041eb7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release
name: 🚀 Release

on:
# push:
Expand All @@ -10,7 +10,7 @@ on:
dry-run:
description: 'Dry Run'
required: false
default: 'true'
default: 'yes'

jobs:
release:
Expand All @@ -36,7 +36,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release ${{ github.event.inputs.dry-run == 'true' && '--dry-run' || '' }}
run: npx semantic-release ${{ github.event.inputs.dry-run == 'yes' && '--dry-run' || '' }}

# notify:
# runs-on: ubuntu-latest
Expand Down

0 comments on commit 041eb7f

Please sign in to comment.