From 5d324dfd09955a81a018be6d7544d07770552644 Mon Sep 17 00:00:00 2001 From: Jon Seager Date: Wed, 25 Sep 2024 18:12:18 +0100 Subject: [PATCH] fix: don't specify the `--platform` arg in remote build --- release-to-candidate/action.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/release-to-candidate/action.yaml b/release-to-candidate/action.yaml index 2757e65..03ab7a1 100644 --- a/release-to-candidate/action.yaml +++ b/release-to-candidate/action.yaml @@ -119,7 +119,6 @@ runs: # https://snapcraft.io/docs/architectures SNAPCRAFT_REMOTE_BUILD_STRATEGY=disable-fallback yq -i '.platforms |= {env(arch): {"build-on": env(arch)}}' "$yaml_path" - snapcraft_args+=("--platform $arch") elif [[ "${{ steps.setup.outputs.new-remote-build }}" == "false" || "$SNAPCRAFT_REMOTE_BUILD_STRATEGY" == "force-fallback" ]]; then # Restrict arch definition to one only in snapcraft.yaml due to: # https://bugs.launchpad.net/snapcraft/+bug/1885150