mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Publish using OIDC
This commit is contained in:
parent
fb3a8582a2
commit
e976c28b8a
1 changed files with 5 additions and 3 deletions
8
.github/workflows/build-and-release.yml
vendored
8
.github/workflows/build-and-release.yml
vendored
|
|
@ -5,6 +5,10 @@ on:
|
|||
tags:
|
||||
- "*"
|
||||
|
||||
permissions:
|
||||
id-token: write
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
@ -50,6 +54,4 @@ jobs:
|
|||
- name: Publish to npm
|
||||
run: |
|
||||
echo "Publishing version ${{ steps.get_version.outputs.tag }} to NPM"
|
||||
npm publish --workspace=packages/safe-chain --access public
|
||||
env:
|
||||
NPM_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
|
||||
npm publish --workspace=packages/safe-chain --access public --provenance
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue