Open ponkio-o opened 6 days ago
Build Summary introduced in v6.0.0 doesn't work with GHES v3.11.7.
My guess is that it is because the artifact v2 library used internally does not support GHES.
@actions/artifact v2+, upload-artifact@v4+, and download-artifact@v4+ are not currently supported on GHES yet. The previous version of this package can be found at this tag and on npm.
Yes this seems to be the issue, I will look if we can downgrade to v1.
Downgrading to v1 does not look promising as we can't interact with azure blob storage API anymore, which is needed in our case to set appropriate content-disposition header when uploading the artifact: https://github.com/docker/actions-toolkit/blob/2e70a0cac6b3a7fad73b736a8fc017036b1b082f/src/github.ts#L154-L173
In the meantime we will print a better error message for GHES users: https://github.com/docker/actions-toolkit/pull/382
@dvdksn Could we add a callout in https://docs.docker.com/build/ci/github-actions/build-summary/ page saying that Build summary is not yet supported on GHES?
Contributing guidelines
I've found a bug, and:
Description
Build Summary introduced in v6.0.0 doesn't work with GHES v3.11.7.
My guess is that it is because the artifact v2 library used internally does not support GHES.
Expected behaviour
Correctly working build summary.
Actual behaviour
The following error message on
Post Build and push
step.Repository URL
No response
Workflow run URL
No response
YAML workflow
Workflow logs
BuildKit logs
No response
Additional info
GitHub Enterprise Server: v3.11.7 actions/runner: v2.317.0