Skip to content

Commit

Permalink
ci: remove the arch restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
soumyaDghosh committed Jun 15, 2024
1 parent f00cf8f commit caa318d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions release-to-candidate/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@ runs:
if [[ "$(yq -r '.base' "$yaml_path")" == "core24" ]]; then
# `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 caa318d

Please sign in to comment.