Release #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| dry-run: | |
| description: "Only create an archive containing the release instead of publishing it on GitHub" | |
| type: boolean | |
| required: false | |
| default: false | |
| force: | |
| description: "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@v5 | |
| - 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 }} |