From cd1424639e45ec1159a4f68a66ebcc3f24e51dcc Mon Sep 17 00:00:00 2001 From: Pablo Zubieta <8410335+pabloferz@users.noreply.github.com> Date: Wed, 1 May 2024 17:48:23 -0500 Subject: [PATCH] Publish directly --- .github/workflows/snap.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/snap.yaml b/.github/workflows/snap.yaml index 1dbb0b2..a1658cf 100644 --- a/.github/workflows/snap.yaml +++ b/.github/workflows/snap.yaml @@ -46,9 +46,8 @@ jobs: with: architecture: ${{ matrix.platform }} - name: Upload and Release - uses: snapcore/action-publish@v1 env: SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_TOKEN }} - with: - snap: ${{ steps.snapcraft.outputs.snap }} - release: ${{ inputs.release == 'lts' && 'lts/stable' || inputs.release }} + run: | + sudo snap install --classic snapcraft --channel=7.x/stable + snapcraft upload ${{ steps.snapcraft.outputs.snap }} --release ${{ inputs.release == 'lts' && 'lts/stable' || inputs.release }}