Sides #19
Workflow file for this run
This file contains 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
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
workflow_dispatch: | |
name: Snap | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
snap: | |
name: "Test if the Snap can be built from the latest commit in the branch" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
arch: [x86_64] | |
fail-fast: false | |
steps: | |
- name: Checkout Git repository | |
uses: actions/checkout@v3 | |
- name: Build Snap | |
uses: snapcore/action-build@v1 | |
id: snapcraft-build | |
with: | |
snapcraft-args: "-v" | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: ${{ steps.snapcraft-build.outputs.snap }} | |
path: ${{ steps.snapcraft-build.outputs.snap }} |