@@ -15,15 +15,17 @@ jobs:
15
15
# This workflow contains a single job called "build"
16
16
build :
17
17
# Build on the oldest supported ubuntu:
18
- runs-on : ubuntu-20 .04
18
+ runs-on : ubuntu-22 .04
19
19
20
20
# Steps represent a sequence of tasks that will be executed as part of the job
21
21
steps :
22
22
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
23
23
- uses : actions/checkout@v2
24
24
25
25
- name : Install dependencies
26
- run : sudo apt install libgtk2.0-dev libprocps-dev
26
+ run : |
27
+ sudo apt update
28
+ sudo apt install libgtk2.0-dev libprocps-dev
27
29
28
30
- name : Build .deb package
29
31
run : make deb
@@ -34,13 +36,23 @@ jobs:
34
36
name : Debian packages
35
37
path : ' *.deb'
36
38
37
- - name : Publish AUR package
38
-
39
- with :
40
- pkgname : gatotray
41
- pkgbuild : ./PKGBUILD
42
- commit_username : gatopeich
43
- commit_email : ${{ secrets.AUR_EMAIL }}
44
- ssh_private_key : ${{ secrets.AUR_SSH_PRIVATE_KEY }}
45
- ssh_keyscan_types : rsa,ecdsa,ed25519
46
- test : true
39
+ aur-publish :
40
+ runs-on : ubuntu-latest
41
+ steps :
42
+ - uses : actions/checkout@v2
43
+
44
+ - name : Generate PKGBUILD
45
+ run : make PKGBUILD
46
+
47
+ - name : Publish AUR package
48
+
49
+ with :
50
+ pkgname : gatotray
51
+ pkgbuild : ./PKGBUILD
52
+ commit_username : gatopeich
53
+ commit_email : ${{ secrets.AUR_EMAIL }}
54
+ ssh_private_key : ${{ secrets.AUR_SSH_PRIVATE_KEY }}
55
+ ssh_keyscan_types : rsa,ecdsa,ed25519
56
+ # test: true
57
+ # test_flags: --clean --syncdeps
58
+ # post_process: gatotray || echo "Should fail by lack of DISPLAY"
0 commit comments