diff options
author | Ralph Meijer <ralphm@ik.nu> | 2024-04-05 17:07:17 +0200 |
---|---|---|
committer | Ralph Meijer <ralphm@ik.nu> | 2024-04-05 17:07:17 +0200 |
commit | 2b9b95d3ab18470e7f60a230e862eb810afc2029 (patch) | |
tree | 04ff8fdb680771b2f16f5cd42a00557cdab48c52 | |
parent | 55b2e24fff13fee079f5c9310679fa6ce55c27e6 (diff) |
Add initial GitHub action to build snap
-rw-r--r-- | .github/workflows/snap.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/snap.yml b/.github/workflows/snap.yml new file mode 100644 index 0000000000..4c6aded95e --- /dev/null +++ b/.github/workflows/snap.yml @@ -0,0 +1,21 @@ +name: Snap +on: + workflow_dispatch: + inputs: + retention: + description: Retention Days + default: 1 + required: true + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: snapcore/action-build@v1 + id: snapcraft + - uses: actions/upload-artifact@v4 + with: + name: snap + path: ${{ steps.snapcraft.outputs.snap }} + retention-days: ${{ github.event.inputs.retention || 1 }} |