diff --git a/action.yml b/action.yml index 37c4224..6664d6d 100644 --- a/action.yml +++ b/action.yml @@ -97,7 +97,7 @@ runs: echo artifact-url="$GITHUB_SERVER_URL"/"$GITHUB_REPOSITORY"/actions/runs/"$GITHUB_RUN_ID"/artifacts/"$ARTIFACT_ID" >> $GITHUB_OUTPUT else # Gitea & Forgejo : github.run_number instead of github.run_id and name of the artifact instead of artifact_id - echo artifact-url="$GITHUB_SERVER_URL"/"$GITHUB_REPOSITORY"/actions/runs/"$GITHUB_RUN_NUMBER"/artifacts/"${{ input.name }}" >> $GITHUB_OUTPUT + echo artifact-url="$GITHUB_SERVER_URL"/"$GITHUB_REPOSITORY"/actions/runs/"$GITHUB_RUN_NUMBER"/artifacts/"$INPUT_NAME" >> $GITHUB_OUTPUT fi # Cleanup