File tree Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Debian/Ubuntu Package
2
+
3
+ on :
4
+ push :
5
+ branches : [develop, main, master]
6
+ pull_request :
7
+ branches : [develop, main, master]
8
+ workflow_dispatch : # For manual triggering
9
+ schedule :
10
+ - cron : " 3 14 15 * *" # 14:03 on the 15th of every month (UTC)
11
+
12
+ jobs :
13
+ build :
14
+
15
+ runs-on : ubuntu-latest
16
+
17
+ name : Build deb pkg
18
+ steps :
19
+
20
+ - name : Checkout
21
+ uses : actions/checkout@v4
22
+ with :
23
+ submodules : true
24
+ path : repoexplorer
25
+
26
+ - name : Run script
27
+ run : cd repoexplorer && sudo ./build-deb.sh
28
+
29
+ - name : Archive artifacts
30
+
31
+ with :
32
+ name : repoexplorer-amd64-deb
33
+ path : repoexplorer_*
34
+ overwrite : true
35
+ compression-level : 0
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ export DEBIAN_FRONTEND=noninteractive
4
+
5
+ apt-get update
6
+ apt-get install -y --no-install-recommends \
7
+ devscripts fakeroot haskell-debian-utils \
8
+ libwww-perl file git
9
+
10
+ git submodule update --init haskell-download-curl
11
+
12
+ cd haskell-download-curl
13
+ origtargz -u
14
+ apt-get-build-depends -y
15
+ debuild -b -us -uc
16
+ debuild -- clean
17
+ cd ..
18
+
19
+ dpkg -i libghc-download-curl-dev_* .deb
20
+
21
+ apt-get-build-depends -y
22
+ debuild -b -us -uc
23
+ debuild -- clean
You can’t perform that action at this time.
0 commit comments