forked from etlegacy/etlegacy
-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (42 loc) · 1.39 KB
/
snapcraft.yml
File metadata and controls
47 lines (42 loc) · 1.39 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Snapcraft
# Controls when the workflow will run
on:
workflow_dispatch:
workflow_run:
workflows: ["ETLBuild"]
types:
- completed
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
strategy:
matrix:
platform:
- amd64
# - arm64
# - i386
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
repository: etlegacy/etlegacy-snap
fetch-depth: 1
- name: Build SNAP
uses: canonical/snapcraft-multiarch-action@0c3495a6cead8eeacc35e1254fee7d2381e550e4 # v1.10.1
id: snapcraft
with:
architecture: ${{ matrix.platform }}
- name: Publish
uses: snapcore/action-publish@214b86e5ca036ead1668c79afb81e550e6c54d40 # v1.2.0
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
with:
snap: ${{ steps.snapcraft.outputs.snap }}
release: edge
# release: stable
# release: candidate
# release: beta