Now that actions/upload@v4 supports getting the artifact ID during the workflow, we should directly link to the artifacts with something likehttps://api.github.com/repos/coq-community/run-coq-bug-minimizer/actions/artifacts/${{ steps.artifact-upload-step.outputs.artifact-id }}/zip or ${GITHUB_API_URL}/repos/${GITHUB_REPOSITORY}/actions/artifacts/${{ steps.artifact-upload-step.outputs.artifact-id }}/zip
cf
- uses: actions/upload-artifact@v4
id: artifact-upload-step
with:
name: my-artifact
path: path/to/artifact/content/
- name: Output artifact ID
run: echo 'Artifact ID is ${{ steps.artifact-upload-step.outputs.artifact-id }}'
Now that
actions/upload@v4
supports getting the artifact ID during the workflow, we should directly link to the artifacts with something likehttps://api.github.com/repos/coq-community/run-coq-bug-minimizer/actions/artifacts/${{ steps.artifact-upload-step.outputs.artifact-id }}/zip
or${GITHUB_API_URL}/repos/${GITHUB_REPOSITORY}/actions/artifacts/${{ steps.artifact-upload-step.outputs.artifact-id }}/zip
cf