We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17371a0 commit 5a7ac65Copy full SHA for 5a7ac65
.github/workflows/release.yml
@@ -16,11 +16,16 @@ on:
16
jobs:
17
release:
18
runs-on: ubuntu-latest
19
+
20
+ env:
21
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
22
+ PUSH_TOKEN: ${{ secrets.PUSH_TOKEN }}
23
24
steps:
25
- uses: actions/checkout@v4
26
with:
- ref: "main"
27
fetch-depth: 0
28
+ token: ${{ env.PUSH_TOKEN }}
29
30
- name: Import GPG key
31
uses: crazy-max/ghaction-import-gpg@v6
@@ -47,6 +52,3 @@ jobs:
47
52
48
53
- name: Release
49
54
run: npm run release.${{ github.event.inputs.releaseType }}
50
- env:
51
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- PUSH_TOKEN: ${{ secrets.PUSH_TOKEN }}
0 commit comments