From 1a269bfa836bf1dcff9de75af8cd8a98097b99d2 Mon Sep 17 00:00:00 2001 From: potzplitz <127513690+potzplitz@users.noreply.github.com> Date: Sun, 3 Mar 2024 02:17:02 +0100 Subject: [PATCH] Update maven.yml --- .github/workflows/maven.yml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 96f6bfb..1eadafc 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -44,16 +44,8 @@ jobs: run: mvn clean install working-directory: ./ # Set the working directory to the root of the project - - name: Erstelle Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: v${{ steps.version.outputs.VERSION }} - release_name: Release v${{ steps.version.outputs.VERSION }} - draft: false - prerelease: false + - name: List contents of builds directory + run: ls -l ./builds - name: Lade Artefakt zur Veröffentlichung hoch uses: actions/upload-release-asset@v1 @@ -61,6 +53,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./builds/ExtremeDemonList-${{ steps.version.outputs.VERSION }}-SNAPSHOT.jar + 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