Skip to content

Commit

Permalink
fix: don't specify the --platform arg in remote build
Browse files Browse the repository at this point in the history
  • Loading branch information
jnsgruk committed Sep 25, 2024
1 parent 4591701 commit 5d324df
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion release-to-candidate/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5d324df

Please sign in to comment.