Update buildAndDeploy.yml (#11751)

We'll see if this works, worst case we can revert it
This commit is contained in:
Md. Touhidur Rahman 2024-06-16 00:59:54 +06:00 committed by GitHub
parent 4d1484923c
commit 3b40820bf2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -204,12 +204,10 @@ jobs:
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
LINUX_JRE_URL=$(curl -fsSL 'https://api.adoptium.net/v3/assets/latest/11/hotspot?os=linux&architecture=x64&image_type=jre' | jq -r '.[].binary.package.link')
wget -q -O jre-linux-64.tar.gz $LINUX_JRE_URL
wget -q -O jre-linux-64.tar.gz https://api.adoptium.net/v3/binary/latest/11/ga/linux/x64/jre/hotspot/normal/eclipse
./gradlew desktop:packrLinux64
WIN_JRE_URL=$(curl -fsSL 'https://api.adoptium.net/v3/assets/latest/11/hotspot?os=windows&architecture=x64&image_type=jre' | jq -r '.[].binary.package.link')
wget -q -O jdk-windows-64.zip $WIN_JRE_URL
wget -q -O jdk-windows-64.zip https://api.adoptium.net/v3/binary/latest/11/ga/windows/x64/jre/hotspot/normal/eclipse
./gradlew desktop:packrWindows64
- name: Upload packed zips