summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorLibravatar Nathanael <36506137+NathanaelGandhi@users.noreply.github.com>2023-05-06 01:29:39 +1000
committerLibravatar GitHub <noreply@github.com>2023-05-05 16:29:39 +0100
commit0c1d6196f452ee07213fa955874cda15f2315b79 (patch)
tree5ee515e7c3d051b666e6470eed52c37c235d89e2 /.github
parent6.2.7-nightly.12 [skip ci] (diff)
downloadferdium-app-0c1d6196f452ee07213fa955874cda15f2315b79.tar.gz
ferdium-app-0c1d6196f452ee07213fa955874cda15f2315b79.tar.zst
ferdium-app-0c1d6196f452ee07213fa955874cda15f2315b79.zip
Upgrade 'snapcraft' publish to 'v7.x' (#1150)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/builds.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml
index 1ec13b37c..86e6a1e4a 100644
--- a/.github/workflows/builds.yml
+++ b/.github/workflows/builds.yml
@@ -297,10 +297,9 @@ jobs:
297 env: 297 env:
298 GH_TOKEN: ${{ secrets.FERDIUM_PUBLISH_TOKEN }} 298 GH_TOKEN: ${{ secrets.FERDIUM_PUBLISH_TOKEN }}
299 CSC_IDENTITY_AUTO_DISCOVERY: false 299 CSC_IDENTITY_AUTO_DISCOVERY: false
300 SNAPCRAFT_LOGIN: ${{ secrets.SNAPCRAFT_LOGIN }} 300 SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_LOGIN }} # Note: Login no longer required https://forum.snapcraft.io/t/snapcraft-authentication-options/30473/21
301 run: | 301 run: |
302 sudo snap install snapcraft --channel=5.x/stable --classic 302 sudo snap install snapcraft --channel=7.x/stable --classic
303 echo "$SNAPCRAFT_LOGIN" | snapcraft login --with -
304 pnpm build --publish always -c.snap.publish.repo=$SNAP_PUBLISH_REPO -c.snap.publish.channels=$SNAP_PUBLISH_CHANNEL 303 pnpm build --publish always -c.snap.publish.repo=$SNAP_PUBLISH_REPO -c.snap.publish.channels=$SNAP_PUBLISH_CHANNEL
305 snapcraft logout 304 snapcraft logout
306 shell: bash 305 shell: bash