fix(snap): use snapcore action [skip ci]

This commit is contained in:
Baptiste Augrain 2024-02-08 18:26:48 +01:00
parent 6144fec97d
commit 3cad271b5c

View File

@ -244,25 +244,25 @@ jobs:
run: ./stores/snapcraft/build.sh
if: env.SHOULD_BUILD == 'yes'
- uses: diddlesnaps/snapcraft-multiarch-action@v1
with:
path: stores/snapcraft/build
architecture: ${{ matrix.platform }}
id: build
if: env.SHOULD_BUILD == 'yes'
# - uses: snapcore/action-build@v1
# - uses: diddlesnaps/snapcraft-multiarch-action@v1
# with:
# path: stores/snapcraft/out
# path: stores/snapcraft/build
# architecture: ${{ matrix.platform }}
# id: build
# if: env.SHOULD_BUILD == 'yes'
- uses: diddlesnaps/snapcraft-review-action@v1
- uses: snapcore/action-build@v1
with:
snap: ${{ steps.build.outputs.snap }}
isClassic: 'true'
path: stores/snapcraft/build
id: build
if: env.SHOULD_BUILD == 'yes'
# - uses: diddlesnaps/snapcraft-review-action@v1
# with:
# snap: ${{ steps.build.outputs.snap }}
# isClassic: 'true'
# if: env.SHOULD_BUILD == 'yes'
- uses: svenstaro/upload-release-action@v2
with:
repo_name: ${{ env.ASSETS_REPOSITORY }}