Skip to content

jpm-canonical is building a snap #3

jpm-canonical is building a snap

jpm-canonical is building a snap #3

Workflow file for this run

name: Build snap package
run-name: ${{ github.actor }} is building a snap
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allow manual trigger
workflow_dispatch:
jobs:
build:
runs-on: self-hosted
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build snap
uses: snapcore/action-build@v1
id: snapcraft
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: go-hello-world.snap
path: ${{ steps.snapcraft.outputs.snap }}
if-no-files-found: error