Skip to content

Commit c63dfa2

Browse files
committed
Add release workflow
1 parent 0648a33 commit c63dfa2

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/release.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Release
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
dry-run:
7+
description: "Only create an archive containing the release instead of publishing it on GitHub"
8+
type: boolean
9+
required: false
10+
default: false
11+
force:
12+
description: "Allow overwriting an existing release, or making a release with an incorrect date"
13+
type: boolean
14+
required: false
15+
default: false
16+
17+
permissions: write-all
18+
19+
jobs:
20+
release:
21+
name: "Release the GAP package"
22+
runs-on: ubuntu-latest
23+
24+
steps:
25+
- uses: actions/checkout@v5
26+
- uses: gap-actions/setup-gap@v2
27+
with:
28+
GAP_PKGS_TO_BUILD: json
29+
- uses: gap-actions/build-pkg-docs@v1
30+
with:
31+
use-latex: true
32+
- uses: gap-actions/release-pkg@v1
33+
with:
34+
dry-run: ${{ inputs.dry-run }}
35+
force: ${{ inputs.force }}
36+
- uses: gap-actions/update-gh-pages@v1
37+
if: ${{ !inputs.dry-run }}

0 commit comments

Comments
 (0)