Skip to content

Commit

Permalink
snap: only do amd64
Browse files Browse the repository at this point in the history
Other arches require untrusted actions.
  • Loading branch information
Saviq authored and sylvestre committed Apr 12, 2023
1 parent a5a9560 commit d114486
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/snap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,15 @@ jobs:

timeout-minutes: 45

strategy:
matrix:
platform:
- amd64
- armhf
- arm64
# Broken dependencies: - ppc64el
# https://github.com/mozilla/sccache/issues/1442
# Broken environment: - s390x

steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 0 # needed for version determination

- name: Build and publish the snap
uses: canonical/actions/build-snap@multiarch
uses: canonical/actions/build-snap@release
with:
architecture: ${{ matrix.platform }}
snapcraft-token: ${{ secrets.SNAPCRAFT_TOKEN }}
publish: ${{ github.event_name == 'pull_request' && github.repository == github.event.pull_request.head.repo.full_name }}
publish-channel: edge/pr${{ github.event.number }}

0 comments on commit d114486

Please sign in to comment.