-
-
Notifications
You must be signed in to change notification settings - Fork 32
30 lines (30 loc) · 791 Bytes
/
snap.yaml
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
on:
push:
branches: [ "**" ]
pull_request:
branches: [ "master" ]
types: [ "review_requested", "ready_for_review" ]
workflow_dispatch:
name: Test Snap packaging
permissions:
id-token: write
contents: read
jobs:
gnome-snap:
name: "Snap"
runs-on: ubuntu-latest
steps:
- name: Checkout Git repository
uses: actions/checkout@v4
- name: Use source from current branch
run: |
sed -i 's/source:.*/source: ./g' snap/snapcraft.yaml
- name: Build Test Mousam Snap
uses: snapcore/action-build@v1
id: snapcraft-build
with:
snapcraft-args: "-v"
- uses: actions/upload-artifact@v4
with:
name: mousam-snap
path: ${{ steps.snapcraft-build.outputs.snap }}