Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
release:
name: release
runs-on: ubuntu-latest
environment: release
permissions:
contents: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -87,7 +91,7 @@ jobs:
working-directory: packages/ic-certification-testing-wasm
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Comment thread
jwndlng marked this conversation as resolved.
NPM_CONFIG_PROVENANCE: 'true'

- name: Release ic-cbor Cargo crate
run: cargo publish -p ic-cbor --token ${CRATES_TOKEN}
Expand All @@ -107,7 +111,7 @@ jobs:
working-directory: packages/certificate-verification-js
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Comment thread
jwndlng marked this conversation as resolved.
NPM_CONFIG_PROVENANCE: 'true'

- name: Release ic-response-verification Cargo crate
run: cargo publish -p ic-response-verification --token ${CRATES_TOKEN}
Expand All @@ -122,15 +126,15 @@ jobs:
working-directory: packages/ic-response-verification-wasm
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: 'true'

- name: Release ic-asset-certification Cargo crate
run: cargo publish -p ic-asset-certification --token ${CRATES_TOKEN}
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}

- name: Create Github release
uses: ncipollo/release-action@v1
uses: ncipollo/release-action@b7eabc95ff50cbeeedec83973935c8f306dfcd0b # v1.20.0
with:
artifacts: >
target/package/ic-certification-${{ github.ref_name }}.crate,
Expand Down
Loading