.forgejo/workflows/dotnet.yaml aktualisiert
Some checks failed
Dotnet Build / build (push) Failing after 2m7s
Some checks failed
Dotnet Build / build (push) Failing after 2m7s
This commit is contained in:
parent
e69218c791
commit
3e2ed4b627
1 changed files with 2 additions and 2 deletions
|
@ -83,7 +83,7 @@ jobs:
|
||||||
$tag = "$env:PROJECT_VERSION"
|
$tag = "$env:PROJECT_VERSION"
|
||||||
$fileName = "currentRelease_$tag.zip"
|
$fileName = "currentRelease_$tag.zip"
|
||||||
$filePath = "release/$fileName"
|
$filePath = "release/$fileName"
|
||||||
$apiUrl = "https://git.weexnes.dev/api/v1/repos/WeeXnes/WeeXnesSuite/releases/tags/$tag"
|
$apiUrl = "https://git.weexnes.dev/api/v1/repos/WeeXnes/WeexnesSuite/releases/tags/$tag"
|
||||||
|
|
||||||
$release = Invoke-RestMethod -Uri $apiUrl -Headers @{ Authorization = "token $env:RELEASE_TOKEN" }
|
$release = Invoke-RestMethod -Uri $apiUrl -Headers @{ Authorization = "token $env:RELEASE_TOKEN" }
|
||||||
$uploadUrl = $release.upload_url -replace "\{\?name,label\}", "?name=$fileName"
|
$uploadUrl = $release.upload_url -replace "\{\?name,label\}", "?name=$fileName"
|
||||||
|
|
Loading…
Add table
Reference in a new issue