Update maven.yml

This commit is contained in:
potzplitz 2024-03-03 14:33:49 +01:00 committed by GitHub
parent a0f152927a
commit 95e7027256
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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