Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d63ce05d83 | |||
| ec9cf435ca | |||
| 580330b99e | |||
| d32fa5c91f |
@@ -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 -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"
|
||||
Reference in New Issue
Block a user