File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Ubuntu Workflow
2
+
3
+ on :
4
+ pull_request :
5
+ branches : [ master-with-README ]
6
+ push :
7
+ # manual run in actions tab - for all branches
8
+ workflow_dispatch :
9
+
10
+ jobs :
11
+ build :
12
+ name : Build, test and provide nightly
13
+ strategy :
14
+ fail-fast : false
15
+ matrix :
16
+ os :
17
+ - ubuntu-latest
18
+ include :
19
+ - os : ubuntu-latest
20
+ skip_test : true
21
+
22
+ runs-on : ${{ matrix.os }}
23
+
24
+ steps :
25
+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
26
+ - name : Checkout code
27
+ uses : actions/checkout@v3
28
+
29
+ - name : Install packages
30
+ run : |
31
+ sudo apt-get update
32
+ sudo apt-get install automake libtool libdb5.3-dev libxml2-dev libcjson-dev bison flex help2man gettext texlive
33
+
34
+ - name : Set git user
35
+ run : |
36
+ git config --global user.name github-actions
37
+ git config --global user.email github-actions-bot@users.noreply.github.com
38
+
39
+ - name : bootstrap
40
+ run : |
41
+ make pdf
42
+
43
+ - name : Upload some pdfs
44
+ uses : actions/upload-artifact@v3.1.0
45
+ with :
46
+ name : gnucobol-docs PDF distribution
47
+ path : guide/PDFs/*.pdf
48
+ if-no-files-found : error
49
+ retention-days : 0
You can’t perform that action at this time.
0 commit comments