upload fix

This commit is contained in:
2026-05-17 02:32:51 -05:00
parent d63ce05d83
commit 8a4eea282f

View File

@@ -45,8 +45,5 @@ jobs:
run: | run: |
$releaseId = "${{ steps.create_release.outputs.release_id }}" $releaseId = "${{ steps.create_release.outputs.release_id }}"
$filePath = "target\release\tickr.exe" $filePath = "target\release\tickr.exe"
curl.exe -v` $uri = "https://gitea.whitlocktech.com/api/v1/repos/whitlocktech/tickr/releases/$releaseId/assets?name=tickr.exe"
-X POST ` & curl.exe -X POST -H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" -F "attachment=@$filePath" $uri
-H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" `
-F "attachment=@$filePath" `
"https://gitea.whitlocktech.com/api/v1/repos/whitlocktech/tickr/releases/$releaseId/assets?name=tickr.exe"