Open s850042002 opened 3 years ago
Hey,
I came across the same issue and was able to work around it by using my personal access token instead of the default ${{ secrets.GITHUB_TOKEN }}
.
With ${{ secrets.GITHUB_TOKEN }}
I got the 404 error as well, with ${{ secrets.MY_SECRET_NAME_WITH_MY_TOKEN }}
it worked find.
Could it be that the secrets.GITHUB_TOKEN
has insufficient privileges for uploading release assets in GitHub Enterprise environments? We are running GitHub Enterprise Server 2.22.6.
We're testing this action in our github enterprise environment, but we keep getting the following error message.
We use the example code without any modification. And confirm the artifact exist.
Why does it upload the artifact to
https://github.our_enterprise.com/storage/release
? And how do we fix it?