From 5e28190d871f7b4839b1308d27064636040224cd Mon Sep 17 00:00:00 2001 From: Sander Declerck Date: Tue, 16 Dec 2025 13:01:04 +0100 Subject: [PATCH] Split up setup step for Windows runner --- .github/workflows/create-artifact.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/create-artifact.yml b/.github/workflows/create-artifact.yml index 2465aee..d57bce9 100644 --- a/.github/workflows/create-artifact.yml +++ b/.github/workflows/create-artifact.yml @@ -59,9 +59,15 @@ jobs: with: node-version: "20.x" - - name: Setup safe-chain + - name: Setup safe-chain (Mac/Linux) + if: runner.os != 'Windows' run: curl -fsSL https://raw.githubusercontent.com/AikidoSec/safe-chain/main/install-scripts/install-safe-chain.sh | sh -s -- --ci + - name: Setup safe-chain (Windows) + if: runner.os == 'Windows' + shell: pwsh + run: iex "& { $(iwr 'https://raw.githubusercontent.com/AikidoSec/safe-chain/main/install-scripts/install-safe-chain.ps1' -UseBasicParsing) } -ci" + - name: Install dependencies run: npm ci --ignore-scripts