From 1af63e99880b73a729a7d894619d9366cbaf8c0f Mon Sep 17 00:00:00 2001 From: potzplitz <127513690+potzplitz@users.noreply.github.com> Date: Sun, 3 Mar 2024 02:19:00 +0100 Subject: [PATCH] Update maven.yml --- .github/workflows/maven.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 1eadafc..25661da 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -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