From 44e088f9a47e375ef485de922d5439234acd4fa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Sawicz?= Date: Mon, 29 Jan 2024 17:51:09 +0100 Subject: [PATCH] ci: migrate to remote-builds --- .github/workflows/snap.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/snap.yml b/.github/workflows/snap.yml index 0560eac..b1c481e 100644 --- a/.github/workflows/snap.yml +++ b/.github/workflows/snap.yml @@ -26,9 +26,11 @@ jobs: 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 }} + 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: 22/edge/pr${{ github.event.number }} + publish-channel: 24/edge/pr${{ github.event.number }}