diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 765a5fe..f531caf 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -50,12 +50,6 @@ jobs: draft: false prerelease: false - - name: Find Jar files - id: find_jars - run: | - jars=$(find target -name '*.jar') - echo "::set-output name=jars::$jars" - - name: Upload Jar as Release Asset id: upload-release-asset uses: actions/upload-release-asset@v1 @@ -63,6 +57,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ${{ steps.find_jars.outputs.jars }} + asset_path: builds asset_name: my-java-app.jar asset_content_type: application/java-archive