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