mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
.github/workflows/build.yml fixed upload artifacts
This commit is contained in:
parent
2b7025719b
commit
11debfb55c
1 changed files with 4 additions and 3 deletions
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
@ -178,10 +178,11 @@ jobs:
|
|||
if: matrix.os == 'windows-latest'
|
||||
shell: pwsh
|
||||
run: |
|
||||
cd artifacts
|
||||
$files = Get-ChildItem -File
|
||||
$files = Get-ChildItem -File artifacts
|
||||
foreach ($file in $files) {
|
||||
curl.exe -H "Authorization: Bearer ${{ secrets.PUBLISH_RELEASES_TOKEN }}" -T $file.FullName "https://publish-releases.anytype.io/electron/${{ steps.release-version.outputs.RELEASE_VERSION }}/$($file.Name)"
|
||||
$uploadUrl = "https://publish-releases.anytype.io/electron/${{ steps.release-version.outputs.RELEASE_VERSION }}/$($file.Name)"
|
||||
echo "Uploading files to $uploadUrl"
|
||||
curl.exe -H "Authorization: Bearer ${{ secrets.PUBLISH_RELEASES_TOKEN }}" -T $file.FullName $uploadUrl
|
||||
}
|
||||
|
||||
- name: Delete old releases
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue