Skip to content

Commit

Permalink
fix: fixed failing release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
WasiqB authored Dec 24, 2023
1 parent 17371a0 commit 5a7ac65
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,16 @@ on:
jobs:
release:
runs-on: ubuntu-latest

env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
PUSH_TOKEN: ${{ secrets.PUSH_TOKEN }}

steps:
- uses: actions/checkout@v4
with:
ref: "main"
fetch-depth: 0
token: ${{ env.PUSH_TOKEN }}

- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v6
Expand All @@ -47,6 +52,3 @@ jobs:

- name: Release
run: npm run release.${{ github.event.inputs.releaseType }}
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
PUSH_TOKEN: ${{ secrets.PUSH_TOKEN }}

0 comments on commit 5a7ac65

Please sign in to comment.