mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-08 11:43:21 -04:00
Move Unciv.jar into correct folder for gradle packr
This commit is contained in:
parent
4a36d90796
commit
9c6e0b79b1
8
.github/workflows/buildAndDeploy.yml
vendored
8
.github/workflows/buildAndDeploy.yml
vendored
@ -88,13 +88,13 @@ jobs:
|
|||||||
./gradlew desktop:zipLinuxFilesForJar
|
./gradlew desktop:zipLinuxFilesForJar
|
||||||
|
|
||||||
# Copy JAR for final Github version deploy
|
# Copy JAR for final Github version deploy
|
||||||
cp desktop/build/libs/Unciv.jar deploy/Unciv.jar
|
mv desktop/build/libs/Unciv.jar deploy/Unciv.jar
|
||||||
|
|
||||||
- name: Upload JAR
|
- name: Upload JAR
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: UncivJar
|
name: UncivJar
|
||||||
path: desktop/build/libs/Unciv.jar
|
path: deploy/Unciv.jar
|
||||||
|
|
||||||
## Server
|
## Server
|
||||||
|
|
||||||
@ -171,6 +171,7 @@ jobs:
|
|||||||
## Finalize
|
## Finalize
|
||||||
|
|
||||||
- name: Check if this is a real release or a test version, for Github release
|
- name: Check if this is a real release or a test version, for Github release
|
||||||
|
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
|
||||||
id: check-version-tag
|
id: check-version-tag
|
||||||
run: |
|
run: |
|
||||||
if [[ ${{steps.tag.outputs.tag}} =~ [0-9]\.[0-9]+\.[0-9]+ ]]; then
|
if [[ ${{steps.tag.outputs.tag}} =~ [0-9]\.[0-9]+\.[0-9]+ ]]; then
|
||||||
@ -267,6 +268,9 @@ jobs:
|
|||||||
unzip butler.zip
|
unzip butler.zip
|
||||||
chmod +x butler
|
chmod +x butler
|
||||||
|
|
||||||
|
mkdir -p desktop/build/libs
|
||||||
|
mv Unciv.jar desktop/build/libs
|
||||||
|
|
||||||
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 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
|
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
|
./gradlew desktop:packrLinux64
|
||||||
|
Loading…
x
Reference in New Issue
Block a user