diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 79fa96b..cc243f2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -84,11 +84,11 @@ jobs: echo "Uploading build artifact to GitHub release" curl \ -X POST \ - -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \ - -H "Content-Type: application/zip" \ + -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ + -H "Content-Type: application/octet-stream" \ --data-binary @"$BUILD_FILE" \ "$GITHUB_API_URL/repos/${{ github.repository }}/releases/${{ github.event.release.id }}/assets?name=$(basename $BUILD_FILE)" else echo "Build artifact not found" exit 1 - fi \ No newline at end of file + fi