diff --git a/.github/workflows/build-app-beta.yaml b/.github/workflows/build-app-beta.yaml index 0bd99714..d48d8c5c 100644 --- a/.github/workflows/build-app-beta.yaml +++ b/.github/workflows/build-app-beta.yaml @@ -62,18 +62,13 @@ jobs: APPLE_ID: ${{ secrets.APPLE_ID }} APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }} - - name: Save snap login - if: matrix.os == 'ubuntu-18.04' - run: 'echo "$SNAPCRAFT_LOGIN" > snapcraft.login' - shell: bash - env: - SNAPCRAFT_LOGIN: ${{secrets.SNAPCRAFT_LOGIN}} - - name: publishSnap if: matrix.os == 'ubuntu-18.04' run: | - snapcraft login --with snapcraft.login + snapcraft login snapcraft upload --release=beta app/dist/*.snap + env: + SNAPCRAFT_STORE_CREDENTIALS: ${{secrets.SNAPCRAFT_LOGIN}} - name: Copy artifacts run: | diff --git a/.github/workflows/build-app.yaml b/.github/workflows/build-app.yaml index ee9a7ded..9d1d4944 100644 --- a/.github/workflows/build-app.yaml +++ b/.github/workflows/build-app.yaml @@ -72,18 +72,13 @@ jobs: run: | yarn generatePadFile - - name: Save snap login - if: matrix.os == 'ubuntu-18.04' - run: 'echo "$SNAPCRAFT_LOGIN" > snapcraft.login' - shell: bash - env: - SNAPCRAFT_LOGIN: ${{secrets.SNAPCRAFT_LOGIN}} - - name: publishSnap if: matrix.os == 'ubuntu-18.04' run: | - snapcraft login --with snapcraft.login + snapcraft login snapcraft upload --release=stable app/dist/*.snap + env: + SNAPCRAFT_STORE_CREDENTIALS: ${{secrets.SNAPCRAFT_LOGIN}} - name: Copy artifacts run: |