Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d63ce05d83 | |||
| ec9cf435ca | |||
| 580330b99e | |||
| d32fa5c91f |
@@ -45,12 +45,8 @@ 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`
|
||||||
Invoke-RestMethod `
|
-X POST `
|
||||||
-Uri "https://gitea.whitlocktech.com/api/v1/repos/whitlocktech/tickr/releases/$releaseId/assets?name=tickr.exe" `
|
-H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" `
|
||||||
-Method Post `
|
-F "attachment=@$filePath" `
|
||||||
-Headers @{
|
"https://gitea.whitlocktech.com/api/v1/repos/whitlocktech/tickr/releases/$releaseId/assets?name=tickr.exe"
|
||||||
Authorization = "token ${{ secrets.RELEASE_TOKEN }}"
|
|
||||||
} `
|
|
||||||
-InFile $filePath `
|
|
||||||
-ContentType "application/octet-stream"
|
|
||||||
Reference in New Issue
Block a user