Skip to content

Commit

Permalink
fix: fixing download artifact name
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoc7 committed Apr 27, 2024
1 parent d010f1d commit b33596d
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/build_cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -430,14 +430,11 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Show Environment Variables
run: |
env

- name: test
run: |
echo "PLUGIN_ARCHIVE_FULL=${{ env.PLUGIN_ARCHIVE_FULL }}"
echo "PLUGIN_ARCHIVE_NAME=${{ env.PLUGIN_ARCHIVE_NAME }}"
echo "PLUGIN_ARCHIVE_FULL=${{ needs.build.outputs.PLUGIN_ARCHIVE_FULL }}"
echo "PLUGIN_ARCHIVE_NAME=${{ needs.build.outputs.PLUGIN_ARCHIVE_NAME }}"
- name: Download release url
if: contains(github.ref, '/tags/v')
Expand All @@ -449,7 +446,7 @@ jobs:
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: ${{env.PLUGIN_ARCHIVE_NAME}}
name: ${{needs.build.outputs.PLUGIN_ARCHIVE_NAME}}

- name: Set Release Var
if: contains(github.ref, '/tags/v')
Expand All @@ -466,6 +463,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{env.RELEASE_URL}}
asset_path: ${{env.PLUGIN_ARCHIVE_FULL}}
asset_name: ${{env.PLUGIN_ARCHIVE_NAME}}
asset_path: ${{needs.build.outputs.PLUGIN_ARCHIVE_FULL}}
asset_name: ${{needs.build.outputs.PLUGIN_ARCHIVE_NAME}}
asset_content_type: application/zip

0 comments on commit b33596d

Please sign in to comment.