Skip to content

Commit 4e01ddc

Browse files
committed
Add default release.yml workflow
1 parent 093bcf1 commit 4e01ddc

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/release.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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@v3
27+
- uses: gap-actions/build-pkg-docs@v2
28+
with:
29+
use-latex: true
30+
- uses: gap-actions/release-pkg@v1
31+
with:
32+
dry-run: ${{ inputs.dry-run }}
33+
force: ${{ inputs.force }}
34+
- uses: gap-actions/update-gh-pages@v1
35+
if: ${{ !inputs.dry-run }}

0 commit comments

Comments
 (0)