Skip to content

Use official build action. #103

Use official build action.

Use official build action. #103

Workflow file for this run

name: Store Publishing
on:
push:
branches:
- develop
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
platform:
- amd64
- arm64
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v1
- uses: snapcore/action-build@v1
id: build
with:
snapcraft-args: --build-for=${{ matrix.platform.arch }}
- uses: snapcore/action-publish@v1
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }}
with:
snap: ${{ steps.build.outputs.snap }}
release: stable