Skip to content

snap: use mir-libs snap #408

snap: use mir-libs snap

snap: use mir-libs snap #408

Workflow file for this run

name: Snap
on:
merge_group:
types: [checks_requested]
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
jobs:
Snap:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
platform:
- amd64
- armhf
- arm64
fail-fast: false
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 0 # needed for version determination
- name: Build and publish the snap
uses: canonical/actions/build-snap@release
with:
architecture: ${{ matrix.platform }}
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: 24/edge/pr${{ github.event.number }}