upload fix
This commit is contained in:
@@ -45,8 +45,5 @@ jobs:
|
||||
run: |
|
||||
$releaseId = "${{ steps.create_release.outputs.release_id }}"
|
||||
$filePath = "target\release\tickr.exe"
|
||||
curl.exe -v`
|
||||
-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"
|
||||
$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
|
||||
Reference in New Issue
Block a user