Skip to content

Commit ddcd0b8

Browse files
committed
add release workflow
1 parent 9d5256f commit ddcd0b8

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/release.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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+
- uses: gap-actions/release-pkg@v1
29+
with:
30+
dry-run: ${{ inputs.dry-run }}
31+
- uses: gap-actions/update-gh-pages@v1
32+
if: ${{ !inputs.dry-run }}

0 commit comments

Comments
 (0)