File tree Expand file tree Collapse file tree 3 files changed +53
-1
lines changed Expand file tree Collapse file tree 3 files changed +53
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Releases
2+
3+ on :
4+ push :
5+ tags :
6+ - " *"
7+
8+ jobs :
9+ build :
10+ name : Release
11+ runs-on : ubuntu-latest
12+ permissions :
13+ contents : write
14+ steps :
15+ - uses : actions/checkout@v3
16+
17+ - uses : actions/cache@v3
18+ name : Cache ~/.stack
19+ with :
20+ path : ~/.stack
21+ key : stack-global-${{ hashFiles('stack.yaml') }}
22+ restore-keys : stack-global-
23+
24+ - uses : actions/cache@v3
25+ name : Cache .stack-work
26+ with :
27+ path : .stack-work
28+ key : stack-work-${{ hashFiles('stack.yaml') }}-${{ hashFiles('package.yaml') }}-${{ hashFiles('**/*.hs') }}
29+ restore-keys : stack-work-
30+
31+ - uses : haskell/actions/setup@v2
32+ name : Setup Haskell Stack
33+ with :
34+ stack-version : latest
35+ stack-no-global : true
36+ stack-setup-ghc : true
37+ enable-stack : true
38+
39+ - name : Install non-hs dependencies
40+ run : sudo apt-get update && sudo apt-get install libgtk-3-dev gobject-introspection libgirepository1.0-dev libwebkit2gtk-4.0-dev libgtksourceview-3.0-dev
41+
42+ - name : Install dependencies
43+ run : stack build --only-dependencies
44+
45+ - name : Build
46+ run : stack build
47+
48+ - uses : ncipollo/release-action@v1
49+ with :
50+ artifacts : " .out/deadd-notification-center"
Original file line number Diff line number Diff line change @@ -18,4 +18,6 @@ com.ph-uhl.deadd.notification.service
1818deadd-notification-center.service
1919
2020pkg /
21- ! pkg /PKGBUILD
21+ ! pkg /PKGBUILD
22+
23+ .out /
You can’t perform that action at this time.
0 commit comments