-
Notifications
You must be signed in to change notification settings - Fork 2
40 lines (36 loc) · 1.14 KB
/
release.yml
File metadata and controls
40 lines (36 loc) · 1.14 KB
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
36
37
38
39
40
# This workflow is responsible for making releases of this GAP package,
# and updating its website afterwards. For usage instructions, see
# <https://github.com/gap-actions/release-pkg/>.
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
with:
gap-version: 'devel'
- 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 }}