3 Commits

Author SHA1 Message Date
ec9cf435ca workflow
All checks were successful
Build and Release / build (push) Successful in 3m26s
2026-05-17 02:13:41 -05:00
580330b99e fixing workflow
Some checks failed
Build and Release / build (push) Has been cancelled
2026-05-17 02:09:14 -05:00
d32fa5c91f fixing workflow 2026-05-17 02:06:44 -05:00

View File

@@ -45,12 +45,8 @@ jobs:
run: |
$releaseId = "${{ steps.create_release.outputs.release_id }}"
$filePath = "target\release\tickr.exe"
Invoke-RestMethod `
-Uri "https://gitea.whitlocktech.com/api/v1/repos/whitlocktech/tickr/releases/$releaseId/assets?name=tickr.exe" `
-Method Post `
-Headers @{
Authorization = "token ${{ secrets.RELEASE_TOKEN }}"
} `
-InFile $filePath `
-ContentType "application/octet-stream"
curl.exe `
-X POST `
-H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" `
-F "attachment=@$filePath" `
"https://gitea.whitlocktech.com/api/v1/repos/whitlocktech/tickr/releases/$releaseId/assets?name=tickr.exe"