This commit is contained in:
@@ -204,7 +204,7 @@ jobs:
|
|||||||
RELEASE_ID="${{ steps.create_release.outputs.release_id }}"
|
RELEASE_ID="${{ steps.create_release.outputs.release_id }}"
|
||||||
ZIP_FILE="${{ steps.zip.outputs.zip_file }}"
|
ZIP_FILE="${{ steps.zip.outputs.zip_file }}"
|
||||||
|
|
||||||
API_URL="https://${{ vars.RELEASE_URL }}/api/v1/repos/${GITHUB_REPOSITORY}/releases/${RELEASE_ID}/assets?name=${ZIP_NAME}"
|
API_URL="https://${{ vars.RELEASE_URL }}/api/v1/repos/${GITHUB_REPOSITORY}/releases/${RELEASE_ID}/assets?name=${ZIP_FILE}"
|
||||||
|
|
||||||
curl -s -X POST "$API_URL" \
|
curl -s -X POST "$API_URL" \
|
||||||
-H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
|
-H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
|
||||||
|
|||||||
Reference in New Issue
Block a user