From 2563adfee105687e316eedd4a4bbb5df9fad28a7 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Tue, 9 Sep 2025 13:11:31 +0200 Subject: [PATCH] github workflows: mac_codesign: clean up --- .github/workflows/mac_codesign.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/mac_codesign.yml b/.github/workflows/mac_codesign.yml index 7235226b1..3e560f6ab 100644 --- a/.github/workflows/mac_codesign.yml +++ b/.github/workflows/mac_codesign.yml @@ -19,6 +19,10 @@ jobs: targets: aarch64-apple-darwin - name: build-and-codesign run: | + export FISH_ARTEFACT_PATH=/tmp/fish-built + # macOS runners keep having issues loading Cargo.toml dependencies from git (GitHub) instead + # of crates.io, so give this a try. It's also sometimes significantly faster on all platforms. + export CARGO_NET_GIT_FETCH_WITH_CLI=true cargo install apple-codesign mkdir -p "$FISH_ARTEFACT_PATH" echo "$MAC_CODESIGN_APP_P12_BASE64" | base64 --decode > /tmp/app.p12 @@ -31,10 +35,6 @@ jobs: MAC_CODESIGN_INSTALLER_P12_BASE64: ${{ secrets.MAC_CODESIGN_INSTALLER_P12_BASE64 }} MAC_CODESIGN_PASSWORD: ${{ secrets.MAC_CODESIGN_PASSWORD }} MACOS_NOTARIZE_JSON: ${{ secrets.MACOS_NOTARIZE_JSON }} - # macOS runners keep having issues loading Cargo.toml dependencies from git (GitHub) instead - # of crates.io, so give this a try. It's also sometimes significantly faster on all platforms. - CARGO_NET_GIT_FETCH_WITH_CLI: true - FISH_ARTEFACT_PATH: /tmp/fish-built - uses: actions/upload-artifact@v4 with: name: macOS Artefacts