-
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
30 additions
and
34 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,14 +9,12 @@ env: | |
JAVA_VERSIONS: | | ||
Java 17 | ||
Java 18 | ||
GAME_VERSIONS: | | ||
1.18.2 | ||
FABRIC_DEPENDENCIES: | | ||
fabric-api | depends | * | ||
architectury-api | depends | * | ||
FORGE_DEPENDENCIES: | | ||
architectury-api | depends | * | ||
QUILT_DEPENDENCIES: | | ||
qsl | depends | * | ||
architectury-api | depends | * | ||
RETRY_ATTEMPTS: 3 | ||
RELAY_DELAY: 10000 | ||
VERSION_RESOLVER: latest | ||
|
@@ -32,7 +30,7 @@ jobs: | |
uses: actions/checkout@v3 | ||
|
||
- name: "Set up JDK" | ||
uses: actions/setup-java@v3.3.0 | ||
uses: actions/setup-java@v3.6.0 | ||
with: | ||
java-version: 17 | ||
distribution: temurin | ||
|
@@ -49,9 +47,9 @@ jobs: | |
with: | ||
name: "friends-and-foes" | ||
path: | | ||
fabric/build/libs/friendsandfoes-fabric-mc1.18.2-1.4.6.jar | ||
forge/build/libs/friendsandfoes-forge-mc1.18.2-1.4.6.jar | ||
quilt/build/libs/friendsandfoes-quilt-mc1.18.2-1.4.6.jar | ||
fabric/build/libs/friendsandfoes-fabric-${{ github.ref_name }}.jar | ||
forge/build/libs/friendsandfoes-forge-${{ github.ref_name }}.jar | ||
quilt/build/libs/friendsandfoes-quilt-${{ github.ref_name }}.jar | ||
LICENSE.txt | ||
publish-license-to-release: | ||
|
@@ -87,7 +85,7 @@ jobs: | |
- name: "Publish Fabric to GitHub" | ||
uses: AButler/[email protected] | ||
with: | ||
files: 'fabric/build/libs/friendsandfoes-fabric-mc1.18.2-1.4.6.jar' | ||
files: fabric/build/libs/friendsandfoes-fabric-${{ github.ref_name }}.jar | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
publish-fabric-to-curseforge: | ||
|
@@ -108,11 +106,11 @@ jobs: | |
curseforge-id: 551364 | ||
curseforge-token: ${{ secrets.CURSEFORGE_RELEASE_TOKEN }} | ||
|
||
files-primary: "fabric/build/libs/friendsandfoes-fabric-mc1.18.2-1.4.6.jar" | ||
files-primary: fabric/build/libs/friendsandfoes-fabric-${{ github.ref_name }}.jar | ||
version-type: ${{ env.VERSION_TYPE }} | ||
loaders: fabric | ||
game-versions: 1.18.2 | ||
name: "Friends&Foes mc1.18.2-1.4.6 (Fabric)" | ||
game-versions: ${{ env.GAME_VERSIONS }} | ||
name: Friends&Foes ${{ github.ref_name }} (Fabric) | ||
dependencies: ${{ env.FABRIC_DEPENDENCIES }} | ||
java: ${{ env.JAVA_VERSIONS }} | ||
|
||
|
@@ -140,12 +138,12 @@ jobs: | |
modrinth-unfeature-mode: version-intersection | ||
modrinth-token: ${{ secrets.MODRINTH_RELEASE_TOKEN }} | ||
|
||
files-primary: "fabric/build/libs/friendsandfoes-fabric-mc1.18.2-1.4.6.jar" | ||
files-primary: fabric/build/libs/friendsandfoes-fabric-${{ github.ref_name }}.jar | ||
version-type: ${{ env.VERSION_TYPE }} | ||
loaders: fabric | ||
game-versions: 1.18.2 | ||
name: "Friends&Foes mc1.18.2-1.4.6 (Fabric)" | ||
version: "fabric-mc1.18.2-1.4.6" | ||
game-versions: ${{ env.GAME_VERSIONS }} | ||
name: Friends&Foes ${{ github.ref_name }} (Fabric) | ||
version: fabric-${{ github.ref_name }} | ||
dependencies: ${{ env.FABRIC_DEPENDENCIES }} | ||
java: ${{ env.JAVA_VERSIONS }} | ||
retry-attempts: ${{ env.RETRY_ATTEMPTS }} | ||
|
@@ -167,7 +165,7 @@ jobs: | |
- name: "Publish Forge to GitHub" | ||
uses: AButler/[email protected] | ||
with: | ||
files: 'forge/build/libs/friendsandfoes-forge-mc1.18.2-1.4.6.jar' | ||
files: forge/build/libs/friendsandfoes-forge-${{ github.ref_name }}.jar | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
publish-forge-to-curseforge: | ||
|
@@ -188,12 +186,11 @@ jobs: | |
curseforge-id: 602059 | ||
curseforge-token: ${{ secrets.CURSEFORGE_RELEASE_TOKEN }} | ||
|
||
files-primary: "forge/build/libs/friendsandfoes-forge-mc1.18.2-1.4.6.jar" | ||
files-primary: forge/build/libs/friendsandfoes-forge-${{ github.ref_name }}.jar | ||
version-type: ${{ env.VERSION_TYPE }} | ||
loaders: forge | ||
game-versions: 1.18.2 | ||
name: "Friends&Foes mc1.18.2-1.4.6 (Forge)" | ||
dependencies: ${{ env.FORGE_DEPENDENCIES }} | ||
game-versions: ${{ env.GAME_VERSIONS }} | ||
name: Friends&Foes ${{ github.ref_name }} (Forge) | ||
java: ${{ env.JAVA_VERSIONS }} | ||
|
||
retry-attempts: ${{ env.RETRY_ATTEMPTS }} | ||
|
@@ -220,13 +217,12 @@ jobs: | |
modrinth-unfeature-mode: version-intersection | ||
modrinth-token: ${{ secrets.MODRINTH_RELEASE_TOKEN }} | ||
|
||
files-primary: "forge/build/libs/friendsandfoes-forge-mc1.18.2-1.4.6.jar" | ||
files-primary: forge/build/libs/friendsandfoes-forge-${{ github.ref_name }}.jar | ||
version-type: ${{ env.VERSION_TYPE }} | ||
loaders: forge | ||
game-versions: 1.18.2 | ||
name: "Friends&Foes mc1.18.2-1.4.6 (Forge)" | ||
version: "forge-mc1.18.2-1.4.6" | ||
dependencies: ${{ env.FORGE_DEPENDENCIES }} | ||
game-versions: ${{ env.GAME_VERSIONS }} | ||
name: Friends&Foes ${{ github.ref_name }} (Forge) | ||
version: forge-${{ github.ref_name }} | ||
java: ${{ env.JAVA_VERSIONS }} | ||
retry-attempts: ${{ env.RETRY_ATTEMPTS }} | ||
retry-delay: ${{ env.RETRY_DELAY }} | ||
|
@@ -248,7 +244,7 @@ jobs: | |
- name: "Publish Quilt to GitHub" | ||
uses: AButler/[email protected] | ||
with: | ||
files: 'quilt/build/libs/friendsandfoes-quilt-mc1.18.2-1.4.6.jar' | ||
files: quilt/build/libs/friendsandfoes-quilt-${{ github.ref_name }}.jar | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
publish-quilt-to-curseforge: | ||
|
@@ -269,11 +265,11 @@ jobs: | |
curseforge-id: 628248 | ||
curseforge-token: ${{ secrets.CURSEFORGE_RELEASE_TOKEN }} | ||
|
||
files-primary: "quilt/build/libs/friendsandfoes-quilt-mc1.18.2-1.4.6.jar" | ||
files-primary: quilt/build/libs/friendsandfoes-quilt-${{ github.ref_name }}.jar | ||
version-type: ${{ env.VERSION_TYPE }} | ||
loaders: quilt | ||
game-versions: 1.18.2 | ||
name: "Friends&Foes mc1.18.2-1.4.6 (Quilt)" | ||
game-versions: ${{ env.GAME_VERSIONS }} | ||
name: Friends&Foes ${{ github.ref_name }} (Quilt) | ||
dependencies: ${{ env.QUILT_DEPENDENCIES }} | ||
java: ${{ env.JAVA_VERSIONS }} | ||
|
||
|
@@ -301,12 +297,12 @@ jobs: | |
modrinth-unfeature-mode: version-intersection | ||
modrinth-token: ${{ secrets.MODRINTH_RELEASE_TOKEN }} | ||
|
||
files-primary: "quilt/build/libs/friendsandfoes-quilt-mc1.18.2-1.4.6.jar" | ||
files-primary: quilt/build/libs/friendsandfoes-quilt-${{ github.ref_name }}.jar | ||
version-type: ${{ env.VERSION_TYPE }} | ||
loaders: quilt | ||
game-versions: 1.18.2 | ||
name: "Friends&Foes mc1.18.2-1.4.6 (Quilt)" | ||
version: "quilt-mc1.18.2-1.4.6" | ||
game-versions: ${{ env.GAME_VERSIONS }} | ||
name: Friends&Foes ${{ github.ref_name }} (Quilt) | ||
version: quilt-${{ github.ref_name }} | ||
dependencies: ${{ env.QUILT_DEPENDENCIES }} | ||
java: ${{ env.JAVA_VERSIONS }} | ||
retry-attempts: ${{ env.RETRY_ATTEMPTS }} | ||
|