Skip to content

Commit

Permalink
Create snap-arm64.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ram-pi authored Aug 22, 2024
1 parent 6eacf18 commit 7642b80
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/snap-arm64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
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 }}

0 comments on commit 7642b80

Please sign in to comment.