This repository was archived by the owner on Mar 4, 2021. It is now read-only.
Description We're testing this action in our github enterprise environment, but we keep getting the following error message.
Run actions/upload-release-asset@v1
with:
upload_url: https://github.our_enterprise.com/api/uploads/repos/our_rganization/ConsoleAction/releases/2251/assets{?name,label}
asset_path: ./ConsoleAction_x64.zip
asset_name: ConsoleAction_x64.zip
asset_content_type: application/zip
env:
GITHUB_TOKEN: ***
##[error]Error uploading to https://github.our_enterprise.com/storage/releases/2251/files: 404
We use the example code without any modification. And confirm the artifact exist.
- name: Create Release
id: create_release
uses: actions/create-release@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
- name: Upload Release Asset (x64)
id: upload-release-asset-x64
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./ConsoleAction_x64.zip
asset_name: ConsoleAction_x64.zip
asset_content_type: application/zip
Why does it upload the artifact to https://github.our_enterprise.com/storage/release?
And how do we fix it?
Reactions are currently unavailable
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?