From 95e702725609f125974263b2db5f524a199ea869 Mon Sep 17 00:00:00 2001 From: potzplitz <127513690+potzplitz@users.noreply.github.com> Date: Sun, 3 Mar 2024 14:33:49 +0100 Subject: [PATCH] Update maven.yml --- .github/workflows/maven.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index f974da7..e35f096 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -58,4 +58,13 @@ jobs: release_name: Release ${{ github.ref }} draft: false prerelease: false - files: extracted-jar/* + + - name: Upload Artifact as Release Asset + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: extracted-jar/*.jar + asset_name: your-artifact-name.jar + asset_content_type: application/java-archive