spmcmillan is creating testing snap #8
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
name: Do a snap build | |
run-name: ${{ github.actor }} is creating testing snap | |
on: | |
push: | |
branches: | |
- main | |
- pek_743_create_snap_action | |
workflow_dispatch: # Allow manual trigger | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
name: Checkout | |
- uses: snapcore/action-build@v1 | |
name: Build snap | |
id: build | |
with: | |
path: tests | |
snapcraft-channel: latest/stable | |
- name: Verify snap | |
run: | | |
sudo snap install checkbox22 | |
sudo snap install --dangerous --classic ${{ steps.build.outputs.snap }} |