Update maven.yml

This commit is contained in:
potzplitz 2024-03-03 02:19:00 +01:00 committed by GitHub
parent 1a269bfa83
commit 1af63e9988
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -44,15 +44,12 @@ jobs:
run: mvn clean install
working-directory: ./ # Set the working directory to the root of the project
- name: List contents of builds directory
run: ls -l ./builds
- name: Lade Artefakt zur Veröffentlichung hoch
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
UPLOAD_URL: ${{ steps.create_release.outputs.upload_url }} # Provide the upload URL obtained from create-release action
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./target/ExtremeDemonList-${{ steps.version.outputs.VERSION }}-SNAPSHOT.jar # Update the path to the generated JAR file
asset_name: ExtremeDemonList-${{ steps.version.outputs.VERSION }}-SNAPSHOT.jar
asset_content_type: application/java-archive