-
-
Notifications
You must be signed in to change notification settings - Fork 43
28 lines (26 loc) · 876 Bytes
/
publish.yml
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
name: "Publish"
on:
workflow_dispatch:
inputs:
mod_loaders:
description: 'List of mod loaders to be published'
required: true
default: "['fabric', 'forge', 'neoforge']"
type: string
branches:
description: 'List of branches to be published'
required: true
default: "['1.19.2', '1.19.3', '1.19.4', '1.20.1', '1.20.2', '1.20.4', '1.20.6', '1.21.1']"
type: string
jobs:
publish:
name: "Publish"
strategy:
fail-fast: false
matrix:
branch: ${{ fromJson(inputs.branches) }}
uses: ./.github/workflows/publish-branch.yml
with:
branch: ${{ matrix.branch }}
mod_loaders: ${{ inputs.mod_loaders }}
secrets: inherit