Build and publish all versions in parallel #4
This file contains 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: Build and publish all versions in parallel | |
on: | |
workflow_dispatch: | |
inputs: | |
release: | |
description: Release this version | |
type: boolean | |
default: false | |
publish: | |
description: Package index to publish to | |
type: choice | |
options: | |
- none | |
- PyPI | |
jobs: | |
build_docs: | |
permissions: | |
pages: read | |
contents: write | |
id-token: write | |
strategy: | |
matrix: | |
minecraft-version: | |
- "1.20.2" | |
- "1.20.1" | |
- "1.19.2" | |
- "1.18.2" | |
fail-fast: false | |
uses: ./.github/workflows/build_docs.yml | |
with: | |
minecraft-version: ${{ matrix.minecraft-version }} | |
release: ${{ inputs.release }} | |
publish: ${{ inputs.publish }} |