From eafa261ef3f9a5ad5c9b53455434c5d9d963d273 Mon Sep 17 00:00:00 2001 From: tanishisherewithhh <120117618+tanishisherewithhh@users.noreply.github.com> Date: Fri, 19 Apr 2024 14:34:33 +0530 Subject: [PATCH] GH-Release is done!! --- .github/workflows/gradle.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 187a44b..a9312cd 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -37,6 +37,9 @@ jobs: - name: build run: ./gradlew build + - name: remove *-sources.jar + run: rm ./build/libs/*-sources.jar || true + - name: capture build artifacts if: ${{ runner.os == 'Linux' && matrix.java == '17' }} # Only upload artifacts built from the latest java on one OS uses: actions/upload-artifact@v3 @@ -44,13 +47,15 @@ jobs: name: Dynamichud path: build/libs/ - - name: Release + - name: pre-release tag uses: softprops/action-gh-release@v2 with: tag_name: "latest" name: "DynamicHUD Pre-release" prerelease: true fail_on_unmatched_files: true - generate_release_notes: true; + generate_release_notes: true + body: + "Pre-release generated from github actions. Maybe unstable to use." files: | ./build/libs/*.jar