mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
.github/workflows/build.yml fixed encodedUploadUrl
This commit is contained in:
parent
7e4d1bce2e
commit
d3a20aa824
1 changed files with 3 additions and 2 deletions
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
@ -180,8 +180,9 @@ jobs:
|
|||
$files = Get-ChildItem -File artifacts
|
||||
foreach ($file in $files) {
|
||||
$uploadUrl = "https://publish-releases.anytype.io/electron/$releaseVersion/$($file.Name)"
|
||||
echo "Uploading files to $uploadUrl"
|
||||
curl.exe -H "Authorization: Bearer ${{ secrets.PUBLISH_RELEASES_TOKEN }}" -T $file.FullName $uploadUrl
|
||||
$encodedUploadUrl = [System.Uri]::EscapeDataString($uploadUrl)
|
||||
echo "Uploading files to $encodedUploadUrl"
|
||||
curl.exe -H "Authorization: Bearer ${{ secrets.PUBLISH_RELEASES_TOKEN }}" -T $file.FullName $encodedUploadUrl
|
||||
}
|
||||
|
||||
- name: Delete old releases
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue