-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ms5 See merge request Griefed/ServerPackCreator!548
- Loading branch information
Showing
8 changed files
with
49 additions
and
45 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 |
---|---|---|
|
@@ -43,7 +43,7 @@ jobs: | |
- name: Set up JDK 17 | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'temurin' | ||
distribution: 'zulu' | ||
java-version: '17' | ||
check-latest: true | ||
|
||
|
@@ -107,7 +107,7 @@ jobs: | |
- name: Set up JDK 17 | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'temurin' | ||
distribution: 'zulu' | ||
java-version: '17' | ||
check-latest: true | ||
|
||
|
@@ -164,7 +164,7 @@ jobs: | |
- name: Set up JDK 17 | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'temurin' | ||
distribution: 'zulu' | ||
java-version: '17' | ||
check-latest: true | ||
|
||
|
@@ -225,7 +225,7 @@ jobs: | |
id: java | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'temurin' | ||
distribution: 'zulu' | ||
java-version: '17' | ||
check-latest: true | ||
cache: 'gradle' | ||
|
@@ -254,7 +254,7 @@ jobs: | |
jpackage ` | ||
--app-version $Version[0] ` | ||
--copyright "Copyright (C) 2023 Griefed" ` | ||
--description "Create server packs from Minecraft Forge, Fabric, Quilt or LegacyFabric modpacks." ` | ||
--description "Create server packs from Minecraft Forge, NeoForge, Fabric, Quilt or LegacyFabric modpacks." ` | ||
--dest "serverpackcreator-app\build\dist" ` | ||
--icon "serverpackcreator-app\jpackagerResources\app.ico" ` | ||
--input "serverpackcreator-app\build\jars" ` | ||
|
@@ -320,7 +320,7 @@ jobs: | |
- name: Set up JDK 17 | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'temurin' | ||
distribution: 'zulu' | ||
java-version: '17' | ||
check-latest: true | ||
|
||
|
@@ -378,7 +378,7 @@ jobs: | |
id: java | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'temurin' | ||
distribution: 'zulu' | ||
java-version: '17' | ||
check-latest: true | ||
cache: 'gradle' | ||
|
@@ -404,7 +404,7 @@ jobs: | |
jpackage \ | ||
--app-version "${VERSION[0]}" \ | ||
--copyright "Copyright (C) 2023 Griefed" \ | ||
--description "Create server packs from Minecraft Forge, Fabric, Quilt or LegacyFabric modpacks." \ | ||
--description "Create server packs from Minecraft Forge, NeoForge, Fabric, Quilt or LegacyFabric modpacks." \ | ||
--dest serverpackcreator-app/build/dist \ | ||
--icon serverpackcreator-app/jpackagerResources/app.png \ | ||
--input serverpackcreator-app/build/jars \ | ||
|
@@ -414,7 +414,7 @@ jobs: | |
--main-jar serverpackcreator-app-${{ needs.preparations.outputs.version }}-plain.jar \ | ||
--name ServerPackCreator \ | ||
--resource-dir serverpackcreator-app/jpackagerResources \ | ||
--runtime-image "${{ steps.java.outputs.path }}" \ | ||
--runtime-image $JAVA_HOME \ | ||
--temp serverpackcreator-app/build/tmp/jpackager \ | ||
--type "app-image" \ | ||
--vendor "griefed.de" \ | ||
|
@@ -476,6 +476,7 @@ jobs: | |
if-no-files-found: warn # 'warn' or 'ignore' are also available, defaults to `warn` | ||
|
||
prerelease: | ||
if: ${{ always() }} | ||
runs-on: ubuntu-latest | ||
needs: [preparations, jar, mac-01, windows-01, windows-02, ubuntu-01, ubuntu-02] | ||
|
||
|
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 |
---|---|---|
|
@@ -41,7 +41,7 @@ jobs: | |
- name: Set up JDK 17 | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'temurin' | ||
distribution: 'zulu' | ||
java-version: '17' | ||
check-latest: true | ||
|
||
|
@@ -105,7 +105,7 @@ jobs: | |
- name: Set up JDK 17 | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'temurin' | ||
distribution: 'zulu' | ||
java-version: '17' | ||
check-latest: true | ||
|
||
|
@@ -162,7 +162,7 @@ jobs: | |
- name: Set up JDK 17 | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'temurin' | ||
distribution: 'zulu' | ||
java-version: '17' | ||
check-latest: true | ||
|
||
|
@@ -223,7 +223,7 @@ jobs: | |
id: java | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'temurin' | ||
distribution: 'zulu' | ||
java-version: '17' | ||
check-latest: true | ||
cache: 'gradle' | ||
|
@@ -251,7 +251,7 @@ jobs: | |
jpackage ` | ||
--app-version "${{ needs.preparations.outputs.version }}" ` | ||
--copyright "Copyright (C) 2023 Griefed" ` | ||
--description "Create server packs from Minecraft Forge, Fabric, Quilt or LegacyFabric modpacks." ` | ||
--description "Create server packs from Minecraft Forge, NeoForge, Fabric, Quilt or LegacyFabric modpacks." ` | ||
--dest "serverpackcreator-app\build\dist" ` | ||
--icon "serverpackcreator-app\jpackagerResources\app.ico" ` | ||
--input "serverpackcreator-app\build\jars" ` | ||
|
@@ -317,7 +317,7 @@ jobs: | |
- name: Set up JDK 17 | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'temurin' | ||
distribution: 'zulu' | ||
java-version: '17' | ||
check-latest: true | ||
|
||
|
@@ -375,7 +375,7 @@ jobs: | |
id: java | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'temurin' | ||
distribution: 'zulu' | ||
java-version: '17' | ||
check-latest: true | ||
cache: 'gradle' | ||
|
@@ -400,7 +400,7 @@ jobs: | |
jpackage \ | ||
--app-version "${{ needs.preparations.outputs.version }}" \ | ||
--copyright "Copyright (C) 2023 Griefed" \ | ||
--description "Create server packs from Minecraft Forge, Fabric, Quilt or LegacyFabric modpacks." \ | ||
--description "Create server packs from Minecraft Forge, NeoForge, Fabric, Quilt or LegacyFabric modpacks." \ | ||
--dest serverpackcreator-app/build/dist \ | ||
--icon serverpackcreator-app/jpackagerResources/app.png \ | ||
--input serverpackcreator-app/build/jars \ | ||
|
@@ -410,7 +410,7 @@ jobs: | |
--main-jar serverpackcreator-app-${{ needs.preparations.outputs.version }}-plain.jar \ | ||
--name ServerPackCreator \ | ||
--resource-dir serverpackcreator-app/jpackagerResources \ | ||
--runtime-image ${{ steps.java.outputs.path }} \ | ||
--runtime-image $JAVA_HOME \ | ||
--temp serverpackcreator-app/build/tmp/jpackager \ | ||
--type "app-image" \ | ||
--vendor "griefed.de" \ | ||
|
@@ -472,6 +472,7 @@ jobs: | |
if-no-files-found: warn # 'warn' or 'ignore' are also available, defaults to `warn` | ||
|
||
release: | ||
if: ${{ always() }} | ||
runs-on: ubuntu-latest | ||
needs: [preparations, jar, mac-01, windows-01, windows-02, ubuntu-01, ubuntu-02] | ||
|
||
|
@@ -557,7 +558,7 @@ jobs: | |
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
distribution: 'zulu' | ||
java-version: '17' | ||
|
||
- name: Grant execute permission for gradlew | ||
|
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 |
---|---|---|
|
@@ -2,8 +2,6 @@ name: Test | |
|
||
on: | ||
push: | ||
tags-ignore: | ||
- '**' | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
|
@@ -21,7 +19,7 @@ jobs: | |
- name: Set up JDK 17 | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'temurin' | ||
distribution: 'zulu' | ||
java-version: '17' | ||
check-latest: true | ||
cache: 'gradle' | ||
|
@@ -67,7 +65,7 @@ jobs: | |
- name: Set up JDK 17 | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'temurin' | ||
distribution: 'zulu' | ||
java-version: '17' | ||
check-latest: true | ||
cache: 'gradle' | ||
|
@@ -113,7 +111,7 @@ jobs: | |
- name: Set up JDK 17 | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'temurin' | ||
distribution: 'zulu' | ||
java-version: '17' | ||
check-latest: true | ||
cache: 'gradle' | ||
|
@@ -164,7 +162,7 @@ jobs: | |
id: java | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'temurin' | ||
distribution: 'zulu' | ||
java-version: '17' | ||
check-latest: true | ||
cache: 'gradle' | ||
|
@@ -186,14 +184,14 @@ jobs: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
./gradlew -Pversion=${{ steps.branch-name.outputs.current_branch }} generateLicenseReport --info --full-stacktrace | ||
./gradlew :serverpackcreator-app:build :serverpackcreator-app:copyDependencies :serverpackcreator-app:copyJar :serverpackcreator-app:cleanTmpPackager --info --full-stacktrace | ||
./gradlew :serverpackcreator-app:build :serverpackcreator-app:copyDependencies :serverpackcreator-app:copyJar --info --full-stacktrace | ||
- name: Build Image | ||
run: | | ||
jpackage ` | ||
--app-version "6.6.6" ` | ||
--copyright "Copyright (C) 2023 Griefed" ` | ||
--description "Create server packs from Minecraft Forge, Fabric, Quilt or LegacyFabric modpacks." ` | ||
--description "Create server packs from Minecraft Forge, NeoForge, Fabric, Quilt or LegacyFabric modpacks." ` | ||
--dest "serverpackcreator-app\build\dist" ` | ||
--icon "serverpackcreator-app\jpackagerResources\app.ico" ` | ||
--input "serverpackcreator-app\build\jars" ` | ||
|
@@ -210,6 +208,7 @@ jobs: | |
--verbose | ||
- name: List | ||
if: ${{ always() }} | ||
run: dir serverpackcreator-app\build\dist | ||
|
||
- name: Archive | ||
|
@@ -246,7 +245,7 @@ jobs: | |
- name: Set up JDK 17 | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'temurin' | ||
distribution: 'zulu' | ||
java-version: '17' | ||
check-latest: true | ||
cache: 'gradle' | ||
|
@@ -293,7 +292,7 @@ jobs: | |
id: java | ||
uses: actions/[email protected] | ||
with: | ||
distribution: 'temurin' | ||
distribution: 'zulu' | ||
java-version: '17' | ||
check-latest: true | ||
cache: 'gradle' | ||
|
@@ -311,14 +310,14 @@ jobs: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
./gradlew -Pversion=${{ steps.branch-name.outputs.current_branch }} generateLicenseReport --info --full-stacktrace | ||
./gradlew :serverpackcreator-app:build :serverpackcreator-app:copyDependencies :serverpackcreator-app:copyJar :serverpackcreator-app:cleanTmpPackager --info --full-stacktrace | ||
./gradlew :serverpackcreator-app:build :serverpackcreator-app:copyDependencies :serverpackcreator-app:copyJar --info --full-stacktrace | ||
- name: Build Image | ||
run: | | ||
jpackage \ | ||
--app-version "6.6.6" \ | ||
--copyright "Copyright (C) 2023 Griefed" \ | ||
--description "Create server packs from Minecraft Forge, Fabric, Quilt or LegacyFabric modpacks." \ | ||
--description "Create server packs from Minecraft Forge, NeoForge, Fabric, Quilt or LegacyFabric modpacks." \ | ||
--dest serverpackcreator-app/build/dist \ | ||
--icon serverpackcreator-app/jpackagerResources/app.png \ | ||
--input serverpackcreator-app/build/jars \ | ||
|
@@ -328,13 +327,14 @@ jobs: | |
--main-jar serverpackcreator-app-dev-plain.jar \ | ||
--name ServerPackCreator \ | ||
--resource-dir serverpackcreator-app/jpackagerResources \ | ||
--runtime-image ${{ steps.java.outputs.path }} \ | ||
--runtime-image $JAVA_HOME \ | ||
--temp serverpackcreator-app/build/tmp/jpackager \ | ||
--type "app-image" \ | ||
--vendor "griefed.de" \ | ||
--verbose | ||
- name: List | ||
if: ${{ always() }} | ||
run: ls -ahl serverpackcreator-app/build/dist | ||
|
||
- name: Create AppImage | ||
|
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
11 changes: 6 additions & 5 deletions
11
serverpackcreator-app/jpackagerResources/ServerPackCreator.desktop
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
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
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
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