I can manually click at "summary", click "artifacts" and download, but can't do this in my workflow.
I received message
{
"$id": "1",
"innerException": null,
"message": "The user 'System:PublicAccess;aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa' is not authorized to access this resource.",
"typeName": "Microsoft.TeamFoundation.Framework.Server.UnauthorizedRequestException, Microsoft.TeamFoundation.Framework.Server",
"typeKey": "UnauthorizedRequestException",
"errorCode": 0,
"eventId": 3000
}
What version of the action are you using?
v3
What are your runner environments?
self-hosted
Are you on GitHub Enterprise Server? If so, what version?
What happened?
can't download artifact using actions/download-artifact@v3
What did you expect to happen?
expect download artifact successfully
How can we reproduce it?
have workflow
jobs: build-and-push-image: runs-on: self-hosted timeout-minutes: 45 steps:
name: "Check out" uses: actions/checkout@v3
name: "Build and test application" run: | sdk use java 8.0.352-zulu ./gradlew build
name: Publish application uses: actions/upload-artifact@v3 with: name: application path: build/libs/ if-no-files-found: error
retention-days: 5
ci: needs: build-and-push-image uses: TDS/tds-automation/.github/workflows/ci.yml@sep-2889-new-workflows with: image_name: repo/image dir: ./ci secrets: inherit
name: Continuous integration on: workflow_call: inputs: image_name: required: true type: string
description: Image name dir: type: string
description: Path to Dockerfile default: . outputs: tag: description: Image tag value: ${{ jobs.build_publish_image.outputs.tag }}
jobs: build_publish_image: name: "Build image, calculate tag, publish image" runs-on: self-hosted
Anything else we need to know?
I can manually click at "summary", click "artifacts" and download, but can't do this in my workflow.
I received message
{ "$id": "1", "innerException": null, "message": "The user 'System:PublicAccess;aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa' is not authorized to access this resource.", "typeName": "Microsoft.TeamFoundation.Framework.Server.UnauthorizedRequestException, Microsoft.TeamFoundation.Framework.Server", "typeKey": "UnauthorizedRequestException", "errorCode": 0, "eventId": 3000 }
What version of the action are you using?
v3
What are your runner environments?
self-hosted
Are you on GitHub Enterprise Server? If so, what version?
No response