[actions/upload-artifact] Wrong artifact-id and artifact-url #187
Labels
No labels
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: forgejo/runner#187
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The action
upload-artifact
provides two outputs:The URL will construct the following way:
So,
runId
anduploadResponse.id
is used. runID comes from the runner itself(?)runner.go:
This results in the following artifact-url (output), which is broken (HTTP 404):
The correct artifact-url (taken from the Web-UI) should be the following:
This is my runner workflow:
It looks like github is using a different URI then forgejo.
RunID
should be theRunNumber
and theartifact-id
should be the name of the artifact rather than an ID.