From fdf3df111c637623fe1e267197c2b2f11c32839d Mon Sep 17 00:00:00 2001 From: Arnaud Date: Fri, 11 Oct 2024 13:21:54 +0200 Subject: [PATCH] CI --- .github/workflows/playwright.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index f392193..e72ca4a 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -33,7 +33,7 @@ jobs: if: steps.cache-circuits.outputs.cache-hit != 'true' run: | platform=${RUNNER_OS,,} - architecture=${RUNNER_ARCH,,} + architecture=$([[ $RUNNER_ARCH == 'X64' ]] && echo amd64 || echo ${RUNNER_ARCH,,}) echo $platform echo "https://github.com/codex-storage/nim-codex/releases/download/${circuit_version}/cirdl-${circuit_version}-${platform}-${architecture}.tar.gz" mkdir -p datadir/circuits @@ -55,7 +55,7 @@ jobs: if: steps.cache-codex.outputs.cache-hit != 'true' run: | platform=${RUNNER_OS,,} - architecture=${RUNNER_ARCH,,} + architecture=$([[ $RUNNER_ARCH == 'X64' ]] && echo amd64 || echo ${RUNNER_ARCH,,}) curl -LO https://github.com/codex-storage/nim-codex/releases/download/${codex_version}/codex-${codex_version}-${platform}-${architecture}.tar.gz curl -LO https://github.com/codex-storage/nim-codex/releases/download/${codex_version}/codex-${codex_version}-${platform}-${architecture}.tar.gz.sha256 sha256sum -c codex-${codex_version}-${platform}-${architecture}.tar.gz.sha256