blob: 12cc5405e71d02c995e71ae3d799e17d4170b263 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
name: Snap
on:
push:
branches:
- "snap-build"
workflow_dispatch:
inputs:
retention:
description: Retention Days
default: 1
required: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: snapcore/action-build@v1
id: snapcraft
with:
snapcraft-args: --verbosity debug
- uses: actions/upload-artifact@v4
with:
name: snap
path: ${{ steps.snapcraft.outputs.snap }}
retention-days: ${{ github.event.inputs.retention || 7 }}
|