|
@@ -103,6 +103,7 @@ jobs:
|
|
needs: release
|
|
needs: release
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
strategy:
|
|
|
|
+ fail-fast: false
|
|
matrix:
|
|
matrix:
|
|
platform:
|
|
platform:
|
|
- amd64
|
|
- amd64
|
|
@@ -114,6 +115,7 @@ jobs:
|
|
- name: Check version
|
|
- name: Check version
|
|
run: ./stores/snapcraft/check_version.sh
|
|
run: ./stores/snapcraft/check_version.sh
|
|
env:
|
|
env:
|
|
|
|
+ ARCHITECTURE: ${{ matrix.platform }}
|
|
SNAP_STORE_LOGIN: ${{ secrets.SNAP_STORE_LOGIN }}
|
|
SNAP_STORE_LOGIN: ${{ secrets.SNAP_STORE_LOGIN }}
|
|
|
|
|
|
- uses: docker/setup-qemu-action@v1
|
|
- uses: docker/setup-qemu-action@v1
|
|
@@ -126,9 +128,8 @@ jobs:
|
|
id: build
|
|
id: build
|
|
if: env.SHOULD_DEPLOY == 'yes'
|
|
if: env.SHOULD_DEPLOY == 'yes'
|
|
|
|
|
|
- - uses: snapcore/action-publish@v1
|
|
|
|
- with:
|
|
|
|
- store_login: ${{ secrets.SNAP_STORE_LOGIN }}
|
|
|
|
- snap: ${{ steps.build.outputs.snap }}
|
|
|
|
- release: stable
|
|
|
|
|
|
+ - name: Release snap
|
|
|
|
+ run: ./stores/snapcraft/release.sh
|
|
|
|
+ env:
|
|
|
|
+ SNAP_STORE_LOGIN: ${{ secrets.SNAP_STORE_LOGIN }}
|
|
if: env.SHOULD_DEPLOY == 'yes'
|
|
if: env.SHOULD_DEPLOY == 'yes'
|