File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ # Trigger the workflow on push or pull request
4+ on :
5+ workflow_dispatch :
6+ inputs :
7+ dry-run :
8+ description : " Do not upload the release to GitHub"
9+ type : boolean
10+ required : false
11+ default : false
12+
13+ permissions : write-all
14+
15+ jobs :
16+ release :
17+ name : " Release the GAP package"
18+ runs-on : ubuntu-latest
19+
20+ steps :
21+ - uses : actions/checkout@v5
22+ - uses : gap-actions/setup-gap@v2
23+ with :
24+ GAP_PKGS_TO_BUILD : json
25+ - uses : gap-actions/build-pkg-docs@v1
26+ with :
27+ use-latex : true
28+ warnings-as-errors : false
29+ # Disable warnings as we we get errors triggered by the GAP
30+ # reference manual and I have no idea what causes them or how to
31+ # deal with them. E.g.:
32+ #
33+ # Section: "ref:specialpcgs" already defined as: 45.13.0
34+ # Now being redefined as: 45.13.2
35+
36+ - uses : gap-actions/release-pkg@v1
37+ with :
38+ dry-run : ${{ inputs.dry-run }}
39+ - uses : gap-actions/update-gh-pages@v1
40+ if : ${{ !inputs.dry-run }}
You can’t perform that action at this time.
0 commit comments