diff --git a/.woodpecker.yml b/.woodpecker.yml index 5184731..6678fab 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -2,7 +2,7 @@ pipeline: export_metadata: - image: gradle:alpine + image: gradle:jammy pull: true environment: - GRADLE_OPTS=-Dorg.gradle.daemon=false -Dorg.gradle.jvmargs=-Xmx2G @@ -12,7 +12,7 @@ pipeline: - gradle --build-cache :exportMetadata -Ppublic -Ptimestamp=${CI_PIPELINE_STARTED} - mv version.json public/ build_platform_jars: - image: gradle:alpine + image: gradle:jammy pull: true environment: - GRADLE_OPTS=-Dorg.gradle.daemon=false -Dorg.gradle.jvmargs=-Xmx2G @@ -22,10 +22,10 @@ pipeline: - gradle --build-cache :launcher-dist:build -Pflavor=windows -Ppublic -Ptimestamp=${CI_PIPELINE_STARTED} - gradle --build-cache :launcher-dist:build -Pflavor=linux -Ppublic -Ptimestamp=${CI_PIPELINE_STARTED} - gradle --build-cache :launcher-dist:build -Pflavor=macos -Ppublic -Ptimestamp=${CI_PIPELINE_STARTED} - - for f in launcher-dist/build/libs/Inceptum-*-*-*.jar; do mv "$f" "public/Inceptum-$${f##*-}";done + - for f in "launcher-dist/build/libs/Inceptum-*-*-*.jar"; do mv "$f" "public/Inceptum-$${f##*-}"; done - mv public/Inceptum-fat.jar public/Inceptum.jar build_wrapper: - image: gradle:alpine + image: gradle:jammy pull: true environment: - GRADLE_OPTS=-Dorg.gradle.daemon=false -Dorg.gradle.jvmargs=-Xmx2G @@ -35,7 +35,7 @@ pipeline: - cp wrapper/build/libs/*.exe public/wrapper.exe - cp wrapper/build/libs/*-all.jar public/wrapper.jar publish_debug: - image: gradle:alpine + image: gradle:jammy pull: true environment: - GRADLE_OPTS=-Dorg.gradle.daemon=false -Dorg.gradle.jvmargs=-Xmx2G @@ -50,7 +50,7 @@ pipeline: when: - branch: master publish_release: - image: gradle:alpine + image: gradle:jammy pull: true environment: - GRADLE_OPTS=-Dorg.gradle.daemon=false -Dorg.gradle.jvmargs=-Xmx2G @@ -66,10 +66,11 @@ pipeline: - event: tag branch: master portable: - image: archlinux:latest + image: gradle:jammy pull: true commands: - - pacman -Sy p7zip curl jq --noconfirm + - apt update + - apt install -y p7zip curl jq - mkdir -p portable/jvm - cp wrapper.jar portable/ - curl -L "https://github.com/pal1000/mesa-dist-win/releases/download/21.2.5/mesa3d-21.2.5-release-msvc.7z" --output mesa.7z