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
2c193e54af
commit
f307b2c332
1 changed files with 2 additions and 1 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
@ -179,7 +179,8 @@ jobs:
|
|||
$releaseVersion = $env:GITHUB_REF_NAME -replace '^[a-zA-Z]+', ''
|
||||
$files = Get-ChildItem -File artifacts
|
||||
foreach ($file in $files) {
|
||||
$uploadUrl = "https://publish-releases.anytype.io/electron/$releaseVersion/$($file.Name)"
|
||||
$encodedFileName = [System.Uri]::EscapeDataString($file.Name)
|
||||
$uploadUrl = "https://publish-releases.anytype.io/electron/$releaseVersion/$encodedFileName"
|
||||
echo "Uploading files to $uploadUrl"
|
||||
curl.exe -H "Authorization: Bearer ${{ secrets.PUBLISH_RELEASES_TOKEN }}" -T $file.FullName $uploadUrl
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue