chore(release): 4.10.1 #9
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Snap | |
| on: | |
| push: | |
| tags: | |
| - '*.*.*' | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| include: | |
| - arch: amd64 | |
| runner: ubuntu-latest | |
| - arch: arm64 | |
| runner: ubuntu-24.04-arm | |
| runs-on: ${{ matrix.runner }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install snapcraft | |
| run: sudo snap install snapcraft --classic | |
| - name: Build snap | |
| id: build | |
| run: | | |
| sudo snapcraft --destructive-mode | |
| echo "snap=$(ls *.snap)" >> $GITHUB_OUTPUT | |
| - name: Upload snap artifact | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: snap-${{ matrix.arch }} | |
| path: ${{ steps.build.outputs.snap }} |