Skip to content

Commit

Permalink
Build mir-libs for both core22 and core24
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanGriffiths committed May 1, 2024
1 parent e93af7d commit 8dfa011
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/snap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,21 @@ jobs:
with:
fetch-depth: 0 # needed for version determination

- name: Build and publish the snap
- name: Tweak the snapcraft.yaml
run: |
if [ "${{ matrix.base }}" == "24" ]; then
mv core24~snap/snapcraft.yaml snap/snapcraft.yaml
fi
- name: Build and publish the snap
uses: canonical/actions/build-snap@release
with:
architecture: ${{ matrix.architecture }}
snapcraft-token: ${{ secrets.SNAPCRAFT_TOKEN }}
launchpad-credentials: ${{ secrets.LAUNCHPAD_CREDENTIALS }}
launchpad-accept-public-upload: true
publish: ${{ github.event_name == 'pull_request' && github.repository == github.event.pull_request.head.repo.full_name }}
publish-channel: ${{ matrix.base }}/edge/pr${{ github.event.number }}
publish-channel: ${{ matrix.base }}\/edge/pr${{ github.event.number }}

snap:
# Only run if we have access to secrets.
Expand Down

0 comments on commit 8dfa011

Please sign in to comment.