Skip to content

Commit

Permalink
build(ci): wrong download link
Browse files Browse the repository at this point in the history
  • Loading branch information
rezaelahidev committed Sep 22, 2024
1 parent 554ea3b commit 571b878
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-plugin-zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,11 @@ jobs:
echo "artifact_id=$ARTIFACT_ID" >> $GITHUB_ENV
- name: Construct download link
id: construct_dl_link
run: |
REPO_NAME="${{ github.repository }}"
RUN_ID="${{ github.run_id }}"
ARTIFACT_ID="${{ env.artifact_id }}"
ARTIFACT_ID="${{ steps.get_artifact_id.artifact_id }}"
DOWNLOAD_LINK="https://github.com/$REPO_NAME/actions/runs/$RUN_ID/artifacts/$ARTIFACT_ID"
echo "download_link=$DOWNLOAD_LINK" >> $GITHUB_ENV
Expand Down Expand Up @@ -241,7 +242,7 @@ jobs:
RUN_ID="${{ github.run_id }}"
# Define the comment body following the desired structure
COMMENT_BODY="**Plugin Zip File**\n\nThe plugin zip file has been generated and can be downloaded from [blockera-plugin.zip](${{ env.download_id }})."
COMMENT_BODY="**Plugin Zip File**\n\nThe plugin zip file has been generated and can be downloaded from [blockera-plugin.zip](${{ steps.construct_dl_link.download_link }})."
if [ -z "${{ env.comment_id }}" ]; then
# No existing comment found, create a new one
Expand Down

0 comments on commit 571b878

Please sign in to comment.