Skip to content

Commit

Permalink
test github action tag release - 1
Browse files Browse the repository at this point in the history
  • Loading branch information
dedece35 committed Oct 4, 2024
1 parent 1195200 commit 806cf2a
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions .github/workflows/tag_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -60,15 +60,17 @@ jobs:
id: import_jar_files
uses: actions/[email protected]
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

0 comments on commit 806cf2a

Please sign in to comment.