Skip to content

Commit

Permalink
Updated workflows and versions file
Browse files Browse the repository at this point in the history
  • Loading branch information
Faboslav committed Aug 21, 2022
1 parent 6bc843f commit 174a14d
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 24 deletions.
6 changes: 3 additions & 3 deletions .github/versions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"1.19.2": "1.5.5",
"1.19.1": "1.5.5",
"1.19": "1.5.5",
"1.19.2": "1.5.6",
"1.19.1": "1.5.6",
"1.19": "1.5.6",
"1.18.2": "1.4.5",
"1.18.1": "1.2.5",
"1.18": "1.2.5"
Expand Down
43 changes: 22 additions & 21 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ env:
GAME_VERSIONS: |
1.19
1.19.1
1.19.2
FABRIC_DEPENDENCIES: |
fabric-api | depends | *
QUILT_DEPENDENCIES: |
Expand Down Expand Up @@ -48,9 +49,9 @@ jobs:
with:
name: "friends-and-foes"
path: |
fabric/build/libs/friendsandfoes-fabric-mc1.19-1.5.6.jar
forge/build/libs/friendsandfoes-forge-mc1.19-1.5.6.jar
quilt/build/libs/friendsandfoes-quilt-mc1.19-1.5.6.jar
fabric/build/libs/friendsandfoes-fabric-mc1.19.2-1.5.6.jar
forge/build/libs/friendsandfoes-forge-mc1.19.2-1.5.6.jar
quilt/build/libs/friendsandfoes-quilt-mc1.19.2-1.5.6.jar
LICENSE.txt
publish-license-to-release:
Expand Down Expand Up @@ -86,7 +87,7 @@ jobs:
- name: "Publish Fabric to GitHub"
uses: AButler/[email protected]
with:
files: 'fabric/build/libs/friendsandfoes-fabric-mc1.19-1.5.6.jar'
files: 'fabric/build/libs/friendsandfoes-fabric-mc1.19.2-1.5.6.jar'
repo-token: ${{ secrets.GITHUB_TOKEN }}

publish-fabric-to-curseforge:
Expand All @@ -107,11 +108,11 @@ jobs:
curseforge-id: 551364
curseforge-token: ${{ secrets.CURSEFORGE_RELEASE_TOKEN }}

files-primary: "fabric/build/libs/friendsandfoes-fabric-mc1.19-1.5.6.jar"
files-primary: "fabric/build/libs/friendsandfoes-fabric-mc1.19.2-1.5.6.jar"
version-type: ${{ env.VERSION_TYPE }}
loaders: fabric
game-versions: ${{ env.GAME_VERSIONS }}
name: "Friends&Foes mc1.19-1.5.6 (Fabric)"
name: "Friends&Foes mc1.19.2-1.5.6 (Fabric)"
dependencies: ${{ env.FABRIC_DEPENDENCIES }}
java: ${{ env.JAVA_VERSIONS }}

Expand Down Expand Up @@ -139,12 +140,12 @@ jobs:
modrinth-unfeature-mode: version-intersection
modrinth-token: ${{ secrets.MODRINTH_RELEASE_TOKEN }}

files-primary: "fabric/build/libs/friendsandfoes-fabric-mc1.19-1.5.6.jar"
files-primary: "fabric/build/libs/friendsandfoes-fabric-mc1.19.2-1.5.6.jar"
version-type: ${{ env.VERSION_TYPE }}
loaders: fabric
game-versions: ${{ env.GAME_VERSIONS }}
name: "Friends&Foes mc1.19-1.5.6 (Fabric)"
version: "fabric-mc1.19-1.5.6"
name: "Friends&Foes mc1.19.2-1.5.6 (Fabric)"
version: "fabric-mc1.19.2-1.5.6"
dependencies: ${{ env.FABRIC_DEPENDENCIES }}
java: ${{ env.JAVA_VERSIONS }}
retry-attempts: ${{ env.RETRY_ATTEMPTS }}
Expand All @@ -166,7 +167,7 @@ jobs:
- name: "Publish Forge to GitHub"
uses: AButler/[email protected]
with:
files: 'forge/build/libs/friendsandfoes-forge-mc1.19-1.5.6.jar'
files: 'forge/build/libs/friendsandfoes-forge-mc1.19.2-1.5.6.jar'
repo-token: ${{ secrets.GITHUB_TOKEN }}

publish-forge-to-curseforge:
Expand All @@ -187,11 +188,11 @@ jobs:
curseforge-id: 602059
curseforge-token: ${{ secrets.CURSEFORGE_RELEASE_TOKEN }}

files-primary: "forge/build/libs/friendsandfoes-forge-mc1.19-1.5.6.jar"
files-primary: "forge/build/libs/friendsandfoes-forge-mc1.19.2-1.5.6.jar"
version-type: ${{ env.VERSION_TYPE }}
loaders: forge
game-versions: ${{ env.GAME_VERSIONS }}
name: "Friends&Foes mc1.19-1.5.6 (Forge)"
name: "Friends&Foes mc1.19.2-1.5.6 (Forge)"
java: ${{ env.JAVA_VERSIONS }}

retry-attempts: ${{ env.RETRY_ATTEMPTS }}
Expand All @@ -218,12 +219,12 @@ jobs:
modrinth-unfeature-mode: version-intersection
modrinth-token: ${{ secrets.MODRINTH_RELEASE_TOKEN }}

files-primary: "forge/build/libs/friendsandfoes-forge-mc1.19-1.5.6.jar"
files-primary: "forge/build/libs/friendsandfoes-forge-mc1.19.2-1.5.6.jar"
version-type: ${{ env.VERSION_TYPE }}
loaders: forge
game-versions: ${{ env.GAME_VERSIONS }}
name: "Friends&Foes mc1.19-1.5.6 (Forge)"
version: "forge-mc1.19-1.5.6"
name: "Friends&Foes mc1.19.2-1.5.6 (Forge)"
version: "forge-mc1.19.2-1.5.6"
java: ${{ env.JAVA_VERSIONS }}
retry-attempts: ${{ env.RETRY_ATTEMPTS }}
retry-delay: ${{ env.RETRY_DELAY }}
Expand All @@ -245,7 +246,7 @@ jobs:
- name: "Publish Quilt to GitHub"
uses: AButler/[email protected]
with:
files: 'quilt/build/libs/friendsandfoes-quilt-mc1.19-1.5.6.jar'
files: 'quilt/build/libs/friendsandfoes-quilt-mc1.19.2-1.5.6.jar'
repo-token: ${{ secrets.GITHUB_TOKEN }}

publish-quilt-to-curseforge:
Expand All @@ -266,11 +267,11 @@ jobs:
curseforge-id: 628248
curseforge-token: ${{ secrets.CURSEFORGE_RELEASE_TOKEN }}

files-primary: "quilt/build/libs/friendsandfoes-quilt-mc1.19-1.5.6.jar"
files-primary: "quilt/build/libs/friendsandfoes-quilt-mc1.19.2-1.5.6.jar"
version-type: ${{ env.VERSION_TYPE }}
loaders: quilt
game-versions: ${{ env.GAME_VERSIONS }}
name: "Friends&Foes mc1.19-1.5.6 (Quilt)"
name: "Friends&Foes mc1.19.2-1.5.6 (Quilt)"
dependencies: ${{ env.QUILT_DEPENDENCIES }}
java: ${{ env.JAVA_VERSIONS }}

Expand Down Expand Up @@ -298,12 +299,12 @@ jobs:
modrinth-unfeature-mode: version-intersection
modrinth-token: ${{ secrets.MODRINTH_RELEASE_TOKEN }}

files-primary: "quilt/build/libs/friendsandfoes-quilt-mc1.19-1.5.6.jar"
files-primary: "quilt/build/libs/friendsandfoes-quilt-mc1.19.2-1.5.6.jar"
version-type: ${{ env.VERSION_TYPE }}
loaders: quilt
game-versions: ${{ env.GAME_VERSIONS }}
name: "Friends&Foes mc1.19-1.5.6 (Quilt)"
version: "quilt-mc1.19-1.5.6"
name: "Friends&Foes mc1.19.2-1.5.6 (Quilt)"
version: "quilt-mc1.19.2-1.5.6"
dependencies: ${{ env.QUILT_DEPENDENCIES }}
java: ${{ env.JAVA_VERSIONS }}
retry-attempts: ${{ env.RETRY_ATTEMPTS }}
Expand Down

0 comments on commit 174a14d

Please sign in to comment.