2 Commits

Author SHA1 Message Date
77ddf68c8f fix upload
All checks were successful
Build and Release / build (push) Successful in 3m22s
2026-05-17 02:52:37 -05:00
c682087de8 t1
All checks were successful
Build and Release / build (push) Successful in 3m24s
2026-05-17 02:45:09 -05:00

View File

@@ -38,7 +38,9 @@ jobs:
} ` } `
-Body $body -Body $body
"release_id=$($response.id)" | Out-File -FilePath $env:GITHUB_OUTPUT -Encoding utf8 -Append $releaseId = $response.id
Write-Host "Created release ID: $releaseId"
Add-Content -Path $env:GITHUB_OUTPUT -Value "release_id=$releaseId"
- name: Upload binary asset - name: Upload binary asset
shell: powershell shell: powershell
@@ -57,4 +59,4 @@ jobs:
$uri = "https://gitea.whitlocktech.com/api/v1/repos/whitlocktech/tickr/releases/$releaseId/assets?name=tickr.exe" $uri = "https://gitea.whitlocktech.com/api/v1/repos/whitlocktech/tickr/releases/$releaseId/assets?name=tickr.exe"
& curl.exe -X POST -H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" -F "attachment=@`"$filePath`"" "$uri" & curl.exe -X POST -H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" -F "attachment=@$filePath" "$uri"