forked from Jorbon/cool_elytra
-
-
Notifications
You must be signed in to change notification settings - Fork 29
80 lines (76 loc) · 2.4 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
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
# 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_2:
## needs: deploy_1_20
# uses: enjarai/do-a-barrel-roll/.github/workflows/publish.yml@1.20.2/dev
# with:
# branch: 1.20.2/dev
# game_vers: |
# 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 }}
deploy_1_20_4:
# needs: deploy_1_20_2
uses: enjarai/do-a-barrel-roll/.github/workflows/publish.yml@1.20.4/dev
with:
branch: 1.20.4/dev
game_vers: |
# 1.20.3
1.20.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 }}