File tree Expand file tree Collapse file tree 1 file changed +6
-26
lines changed Expand file tree Collapse file tree 1 file changed +6
-26
lines changed Original file line number Diff line number Diff line change 1- name : Ubuntu
1+ name : build
22
3- on : [push, pull_request]
3+ on :
4+ pull_request :
5+ branches :
6+ - master
47
58jobs :
69 build :
710 runs-on : ubuntu-latest
811 steps :
9- - uses : actions/checkout@v3
12+ - uses : actions/checkout@v4
1013
1114 - name : Install dependencies
1215 run : sudo apt-get install -y build-essential libcurl4-openssl-dev libarchive-dev
1316
1417 - name : Compile
1518 run : make
16-
17- - uses : actions/upload-artifact@v3
18- with :
19- name : tldr
20- path : ./tldr
21-
22- test :
23- runs-on : ubuntu-latest
24- needs : build
25- steps :
26- - uses : actions/download-artifact@v3
27- with :
28- name : tldr
29- path : .
30-
31- - name : Set file permissions
32- run : chmod 755 ./tldr
33-
34- - name : Fetch pages
35- run : ./tldr -u
36-
37- - name : Display page
38- run : ./tldr cd
You can’t perform that action at this time.
0 commit comments