Skip to content

Commit

Permalink
Add write access to NPM job, rename action to release
Browse files Browse the repository at this point in the history
  • Loading branch information
nkoturovic committed Feb 9, 2024
1 parent 32c3957 commit 7e51dec
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ on:
push:
tags:
- 'v*'

jobs:
publish_binary:
name: publish
Expand Down Expand Up @@ -35,10 +36,10 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


publish_sdk:
name: Publish SDKs
runs-on: ubuntu-latest
permissions: write-all
needs: publish_binary
steps:
- name: Publish SDKs
Expand All @@ -54,5 +55,7 @@ jobs:
- 20.x # LTS release
- 18.x # Previous LTS release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_API_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPMJS_API_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_API_TOKEN }}
PUBLISH_NPM: true

0 comments on commit 7e51dec

Please sign in to comment.