Skip to content

Commit

Permalink
Pass version argument to release cli
Browse files Browse the repository at this point in the history
  • Loading branch information
luin committed Jan 16, 2024
1 parent 69971d2 commit dd3f1b4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ on:
required: true

jobs:
test:
uses: ./.github/workflows/_test.yml
# test:
# uses: ./.github/workflows/_test.yml

release:
runs-on: ubuntu-latest
needs: test
# needs: test

steps:
- name: Git checkout
Expand All @@ -30,7 +30,7 @@ jobs:
node-version: 20

- run: npm ci
- run: ./scripts/release.js ${{ github.event.inputs.version }} ${{ github.event.inputs.dry-run == 'true' && '--dry-run' || '' }}
- run: ./scripts/release.js --version ${{ github.event.inputs.version }} ${{ github.event.inputs.dry-run == 'true' && '--dry-run' || '' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit dd3f1b4

Please sign in to comment.