From 89bcf1bcd4556d2c55598ba339e03ee2e3ebee31 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Thu, 16 Nov 2023 23:50:17 +0000 Subject: [PATCH] Overwrite runner arch for magic Nix cache --- .gitea/workflows/ci.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 4b5e566..ea7fb07 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -11,7 +11,14 @@ jobs: steps: - uses: actions/checkout@v4 - uses: cachix/install-nix-action@v23 + env: + # Gitea will supply a token in GITHUB_TOKEN, which this action will + # try to pass to Nix when downloading from GitHub + GITHUB_TOKEN: '' - uses: DeterminateSystems/magic-nix-cache-action@main + env: + # Arch is amd64 in Gitea actions, this forms the download path for the cache + RUNNER_ARCH: X64 - name: Write agenix secrets key to file env: