Use correct Windows install script

This commit is contained in:
Sander Declerck 2025-12-17 14:12:39 +01:00
parent a1ec035d9c
commit 2cb891b935
No known key found for this signature in database
2 changed files with 8 additions and 8 deletions

View file

@ -43,15 +43,9 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
- name: Setup safe-chain (Mac/Linux)
if: runner.os != 'Windows'
- name: Setup safe-chain
run: curl -fsSL https://github.com/AikidoSec/safe-chain/releases/latest/download/install-safe-chain.sh | sh -s -- --ci
- name: Setup safe-chain (Windows)
if: runner.os == 'Windows'
shell: pwsh
run: iex "& { $(iwr 'https://github.com/AikidoSec/safe-chain/releases/latest/download/install-safe-chain.ps1' -UseBasicParsing) } -ci"
- name: Set the version in safe-chain package
run: npm --no-git-tag-version version ${{ needs.set-version.outputs.version }} --workspace=packages/safe-chain