forked from Jorbon/cool_elytra
-
-
Notifications
You must be signed in to change notification settings - Fork 29
50 lines (46 loc) · 1.38 KB
/
publish_all.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Publish All
on:
release:
types: [ created ]
jobs:
changelog:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v2
- name: Update GitHub Release
uses: tubone24/update_release@v1.3.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
body_path: CHANGELOG.md
is_append_body: true
deploy_1_19_4:
uses: enjarai/do-a-barrel-roll/.github/workflows/publish.yml@1.19.4/next
with:
branch: 1.19.4/next
game_vers: |
1.19.4
java_vers: 17
GITHUB_REF: ${{ github.ref }}
secrets:
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
PUBLISH_MAVEN_USERNAME: ${{ secrets.PUBLISH_MAVEN_USERNAME }}
PUBLISH_MAVEN_PASSWORD: ${{ secrets.PUBLISH_MAVEN_PASSWORD }}
deploy_1_20:
needs: deploy_1_19_4
uses: enjarai/do-a-barrel-roll/.github/workflows/publish.yml@1.20/dev
with:
branch: 1.20/dev
game_vers: |
1.20
1.20.1
1.20.2
java_vers: 17
GITHUB_REF: ${{ github.ref }}
secrets:
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
PUBLISH_MAVEN_USERNAME: ${{ secrets.PUBLISH_MAVEN_USERNAME }}
PUBLISH_MAVEN_PASSWORD: ${{ secrets.PUBLISH_MAVEN_PASSWORD }}