From 262c84f7cbf9936c1bded1298f6920e894befc25 Mon Sep 17 00:00:00 2001 From: deirn Date: Thu, 9 Jan 2025 03:05:56 +0700 Subject: [PATCH] Update build_release.yml --- .github/workflows/build_release.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index 945a343..7dd8a9d 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -27,12 +27,11 @@ jobs: with: name: badpackets-${{ steps.vars.outputs.git_hash }} path: "./platform/*/build/libs/**.jar" - - uses: alexellis/upload-assets@259de5111cb56966d046ced998941e93f91d2c93 + - uses: softprops/action-gh-release@v1 env: GITHUB_TOKEN: ${{ github.token }} with: - asset_paths: | - [ - "./platform/*/build/libs/*[0-9.].jar", - "./platform/*/build/libs/*[0-9.]-api.jar" - ] + tag_name: ${{ steps.vars.outputs.version }} + files: | + ./platform/*/build/libs/*[0-9.].jar + ./platform/*/build/libs/*[0-9.]-api.jar