From 806cf2a66309cc115e39b23ff0afd9ad0eb98d4b Mon Sep 17 00:00:00 2001 From: David DE CARVALHO Date: Fri, 4 Oct 2024 22:52:26 +0200 Subject: [PATCH] test github action tag release - 1 --- .github/workflows/tag_release.yml | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/.github/workflows/tag_release.yml b/.github/workflows/tag_release.yml index 74a0bf5..5ed8384 100644 --- a/.github/workflows/tag_release.yml +++ b/.github/workflows/tag_release.yml @@ -45,8 +45,8 @@ jobs: id: export_jar_files uses: actions/upload-artifact@v3 with: - name: ecocode-plugins - path: target + #name: ecocode-plugins + path: target/ecocode-python-plugin-${{ github.ref_name }}.jar - name: Export UPLOAD_URL id: export_upload_url run: echo "upload_url=${{ steps.create_release.outputs.upload_url }}" >> $GITHUB_OUTPUT @@ -60,15 +60,17 @@ jobs: id: import_jar_files uses: actions/download-artifact@v4.1.7 with: - name: ecocode-plugins - path: target - - name: Upload Release Asset - Python Plugin - id: upload-release-asset - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{needs.build.outputs.upload_url}} - asset_path: target/ecocode-python-plugin-${{ github.ref_name }}.jar - asset_name: ecocode-python-plugin-${{ github.ref_name }}.jar - asset_content_type: application/zip + # name: ecocode-plugins + #path: target + path: ./ + if-no-files-found: error +# - name: Upload Release Asset - Python Plugin +# id: upload-release-asset +# uses: actions/upload-release-asset@v1 +# env: +# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +# with: +# upload_url: ${{needs.build.outputs.upload_url}} +# asset_path: target/ecocode-python-plugin-${{ github.ref_name }}.jar +# asset_name: ecocode-python-plugin-${{ github.ref_name }}.jar +# asset_content_type: application/zip