mirror of
https://github.com/yairm210/Unciv.git
synced 2024-12-23 01:14:30 +07:00
So NOW are you ready for java 11?
This commit is contained in:
parent
eaa6ae5469
commit
d2a94e9bad
21
.github/workflows/buildAndDeploy.yml
vendored
21
.github/workflows/buildAndDeploy.yml
vendored
@ -33,7 +33,7 @@ jobs:
|
||||
- uses: actions/setup-java@v1
|
||||
# Don't upgrade to java 11 until you've managed to run packr with it.
|
||||
with:
|
||||
java-version: '8'
|
||||
java-version: '11'
|
||||
|
||||
- name: Compile kotlin and build classes
|
||||
run: ./gradlew classes
|
||||
@ -114,23 +114,22 @@ jobs:
|
||||
BUTLER_API_KEY: ${{ secrets.BUTLER_API_KEY }}
|
||||
run: |
|
||||
wget -q -O butler.zip https://broth.itch.ovh/butler/linux-amd64/LATEST/archive/default
|
||||
unzip butler.zip;
|
||||
chmod +x butler;
|
||||
./butler -V;
|
||||
unzip butler.zip
|
||||
chmod +x butler
|
||||
|
||||
wget -q -O packr-all-4.0.0.jar https://github.com/libgdx/packr/releases/download/4.0.0/packr-all-4.0.0.jar
|
||||
wget -q -O jre-linux-64.tar.gz https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.11%2B9/OpenJDK11U-jre_x64_linux_hotspot_11.0.11_9.tar.gz
|
||||
./gradlew desktop:packrLinux64;
|
||||
./butler push deploy/Unciv-Linux64.zip yairm210/unciv:Linux64 --userversion ${{steps.tag.outputs.tag}};
|
||||
./gradlew desktop:zipLinuxFilesForJar;
|
||||
./gradlew desktop:packrLinux64
|
||||
./butler push deploy/Unciv-Linux64.zip yairm210/unciv:Linux64 --userversion ${{steps.tag.outputs.tag}}
|
||||
./gradlew desktop:zipLinuxFilesForJar
|
||||
|
||||
wget -q -O jdk-windows-32.zip https://github.com/ojdkbuild/ojdkbuild/releases/download/java-1.8.0-openjdk-1.8.0.252-2.b09-x86/java-1.8.0-openjdk-1.8.0.252-2.b09.ojdkbuild.windows.x86.zip
|
||||
./gradlew desktop:packrWindows32;
|
||||
./butler push deploy/Unciv-Windows32.zip yairm210/unciv:Windows32 --userversion ${{steps.tag.outputs.tag}};
|
||||
./gradlew desktop:packrWindows32
|
||||
./butler push deploy/Unciv-Windows32.zip yairm210/unciv:Windows32 --userversion ${{steps.tag.outputs.tag}}
|
||||
|
||||
wget -q -O jdk-windows-64.zip https://github.com/ojdkbuild/ojdkbuild/releases/download/java-1.8.0-openjdk-1.8.0.232-1.b09/java-1.8.0-openjdk-1.8.0.232-1.b09.ojdkbuild.windows.x86_64.zip
|
||||
./gradlew desktop:packrWindows64;
|
||||
./butler push deploy/Unciv-Windows64.zip yairm210/unciv:Windows64 --userversion ${{steps.tag.outputs.tag}};
|
||||
./gradlew desktop:packrWindows64
|
||||
./butler push deploy/Unciv-Windows64.zip yairm210/unciv:Windows64 --userversion ${{steps.tag.outputs.tag}}
|
||||
|
||||
mv desktop/build/libs/Unciv.jar deploy/Unciv.jar
|
||||
mv android/build/outputs/bundle/release/Unciv-release.aab deploy/Unciv.aab
|
||||
|
Loading…
Reference in New Issue
Block a user