From 257c62b4a3e1ee6da3e4151ace05b7bb7cc77b5c Mon Sep 17 00:00:00 2001 From: Patrizio Bekerle Date: Fri, 19 Aug 2022 06:21:23 +0200 Subject: [PATCH 1/2] Try to deploy snap with new snap config token (#2588) --- .github/workflows/build-release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 94a2011b68..c46dda4e05 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -219,7 +219,7 @@ jobs: - if: contains( matrix.os, 'ubuntu-18') && !matrix.app-image name: Deploy Snap uses: snapcore/action-publish@v1 - continue-on-error: true +# continue-on-error: true env: # `snapcraft export-login --snaps qownnotes --channels edge,stable -`, token valid for one year SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAP_TOKEN_GH }} @@ -231,10 +231,10 @@ jobs: with: name: snapcraft-logs path: /home/runner/.cache/snapcraft/log/snapcraft-*.log - - if: contains( matrix.os, 'ubuntu-18') && !matrix.app-image - name: Fail - shell: bash - run: curl --fail +# - if: contains( matrix.os, 'ubuntu-18') && !matrix.app-image +# name: Fail +# shell: bash +# run: curl --fail # - if: contains( matrix.os, 'ubuntu-18') && !matrix.app-image # name: Deploy Snap From f57cbdd1c230d6465cad0d9ae9d4a22f284ba373 Mon Sep 17 00:00:00 2001 From: Patrizio Bekerle Date: Fri, 19 Aug 2022 14:40:28 +0200 Subject: [PATCH 2/2] Disable snapcraft token and debug deployment (#2588) --- .github/workflows/build-release.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index c46dda4e05..6207e9cbe9 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -100,7 +100,7 @@ jobs: uses: samuelmeuli/action-snapcraft@v1 with: use_lxd: true - snapcraft_token: ${{ secrets.SNAP_TOKEN_GH }} +# snapcraft_token: ${{ secrets.SNAP_TOKEN_GH }} - name: Cache Qt id: cache-qt uses: actions/cache@v3 @@ -219,7 +219,7 @@ jobs: - if: contains( matrix.os, 'ubuntu-18') && !matrix.app-image name: Deploy Snap uses: snapcore/action-publish@v1 -# continue-on-error: true + continue-on-error: true env: # `snapcraft export-login --snaps qownnotes --channels edge,stable -`, token valid for one year SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAP_TOKEN_GH }} @@ -231,10 +231,10 @@ jobs: with: name: snapcraft-logs path: /home/runner/.cache/snapcraft/log/snapcraft-*.log -# - if: contains( matrix.os, 'ubuntu-18') && !matrix.app-image -# name: Fail -# shell: bash -# run: curl --fail + - if: contains( matrix.os, 'ubuntu-18') && !matrix.app-image + name: Fail + shell: bash + run: curl --fail # - if: contains( matrix.os, 'ubuntu-18') && !matrix.app-image # name: Deploy Snap