Skip to content

Merge branch 'main' of github.com:jrnd-io/jr #4

Merge branch 'main' of github.com:jrnd-io/jr

Merge branch 'main' of github.com:jrnd-io/jr #4

Workflow file for this run

name: snap-arm64
on:
workflow_dispatch:
push:
paths:
- "snap/snapcraft.yaml"
jobs:
snapcraft:
runs-on: ubuntu-latest
strategy:
matrix:
platform:
#- amd64
- arm64
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
# - uses: snapcore/action-build@v1
# id: build
# with:
# snapcraft-args: --build-for=${{ matrix.platform }}
- uses: diddlesnaps/snapcraft-multiarch-action@v1
id: snapcraft
with:
architecture: ${{ matrix.platform }}
- uses: snapcore/action-publish@v1
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAP_STORE_LOGIN }}
with:
snap: ${{ steps.snapcraft.outputs.snap }}
release: stable
#- uses: actions/upload-artifact@v2
# with:
# name: snap
# path: ${{ steps.snapcraft.outputs.snap }}