-
Notifications
You must be signed in to change notification settings - Fork 3
35 lines (31 loc) · 930 Bytes
/
release.yml
File metadata and controls
35 lines (31 loc) · 930 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Release
on:
workflow_dispatch:
inputs:
dry-run:
description: "Dry run: only create an archive containing the release instead of publishing it on GitHub"
type: boolean
required: false
default: false
force:
description: "Force: allow overwriting an existing release, or making a release with an incorrect date"
type: boolean
required: false
default: false
permissions: write-all
jobs:
release:
name: "Release the GAP package"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: gap-actions/setup-gap@v3
- uses: gap-actions/build-pkg-docs@v2
with:
use-latex: true
- uses: gap-actions/release-pkg@v1
with:
dry-run: ${{ inputs.dry-run }}
force: ${{ inputs.force }}
- uses: gap-actions/update-gh-pages@v1
if: ${{ !inputs.dry-run }}