Skip to content

Commit

Permalink
ci: restrict arches for core24
Browse files Browse the repository at this point in the history
  • Loading branch information
soumyaDghosh committed Jun 14, 2024
1 parent 52fdc7f commit f00cf8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions release-to-candidate/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ runs:
# `core24` uses platforms syntax rather than `architectures`:
# 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:
Expand Down

0 comments on commit f00cf8f

Please sign in to comment.