Update maven.yml
This commit is contained in:
parent
1a269bfa83
commit
1af63e9988
1 changed files with 1 additions and 4 deletions
5
.github/workflows/maven.yml
vendored
5
.github/workflows/maven.yml
vendored
|
@ -44,15 +44,12 @@ jobs:
|
||||||
run: mvn clean install
|
run: mvn clean install
|
||||||
working-directory: ./ # Set the working directory to the root of the project
|
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
|
- name: Lade Artefakt zur Veröffentlichung hoch
|
||||||
uses: actions/upload-release-asset@v1
|
uses: actions/upload-release-asset@v1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
UPLOAD_URL: ${{ steps.create_release.outputs.upload_url }} # Provide the upload URL obtained from create-release action
|
||||||
with:
|
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_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_name: ExtremeDemonList-${{ steps.version.outputs.VERSION }}-SNAPSHOT.jar
|
||||||
asset_content_type: application/java-archive
|
asset_content_type: application/java-archive
|
||||||
|
|
Loading…
Reference in a new issue