From cbc5c081353ffc064147f5b6820a4050c382e383 Mon Sep 17 00:00:00 2001 From: obvtiger Date: Sat, 26 Apr 2025 02:17:06 +0200 Subject: [PATCH] Update .github/workflows/build.yml --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a72075c..94f2ce4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,6 +17,8 @@ jobs: with: java-version: '21' distribution: 'microsoft' + - name: imfall + run: apt update && apt install tree -y - name: make gradle wrapper executable run: chmod +x ./gradlew - name: build @@ -29,13 +31,13 @@ jobs: - name: Create artifact archive if: github.ref == 'refs/heads/master' run: | + tree mkdir -p release-files - cd target find . -name "*.jar" -o -name "*.war" -o -name "*.zip" | xargs -I{} cp {} ../release-files/ cd .. echo "Build completed on $(date)" > release-files/build-info.txt echo "Git commit: ${{ github.sha }}" >> release-files/build-info.txt - tar -czvf coreprotect-build.tar.gz -C release-files . + tar -czvf dacliente-build.tar.gz -C release-files . mkdir -p release mv coreprotect-build.tar.gz release/ - name: Publish to Forgejo Releases