File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : PROpened
2
+
3
+ on :
4
+ pull_request :
5
+ types : [opened, reopened, synchronize]
6
+
7
+ jobs :
8
+ build :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v4
12
+ with :
13
+ fetch-depth : 0
14
+ show-progress : false
15
+
16
+ - uses : actions/setup-python@v5
17
+ with :
18
+ python-version : 3.x
19
+ cache : ' pip'
20
+ - run : pip install -r requirements.txt
21
+
22
+ - name : Build
23
+ env :
24
+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
25
+ run : |
26
+ cat >Makefile.inc <<EOF
27
+ ${{vars.MAKEFILE_INC}}
28
+ EOF
29
+ make
30
+ mkdir output
31
+ mv temp output/docs-output-${{github.event.number}}
32
+
33
+ - name : Save Output
34
+ id : save-output-temp
35
+ if : ${{ always() }}
36
+ uses : actions/upload-artifact@v4
37
+ with :
38
+ name : docs-output-${{github.event.number}}
39
+ path : |
40
+ output
41
+
You can’t perform that action at this time.
0 commit comments