summary refs log tree commit diff
path: root/.ci/upload-nightly.ps1
diff options
context:
space:
mode:
Diffstat (limited to '.ci/upload-nightly.ps1')
-rw-r--r--.ci/upload-nightly.ps14
1 files changed, 4 insertions, 0 deletions
diff --git a/.ci/upload-nightly.ps1 b/.ci/upload-nightly.ps1
index 9c1c33c3..9c7da62e 100644
--- a/.ci/upload-nightly.ps1
+++ b/.ci/upload-nightly.ps1
@@ -1,3 +1,6 @@
+# disable progress bar since that requires a pty

+$ProgressPreference = "SilentlyContinue"

+

 $file = "nheko_win_64.zip"

 $fileName = "nheko-${env:APPVEYOR_REPO_BRANCH}-${env:APPVEYOR_REPO_COMMIT}-win64.zip"

 

@@ -19,3 +22,4 @@ $room = "!TshDrgpBNBDmfDeEGN:neko.dev"
 

 Invoke-RestMethod -uri "https://matrix.neko.dev/_matrix/client/r0/rooms/${room}/send/m.room.message/${txid}" -Method Put -Body "$body" -ContentType 'application/json' -Headers @{"Authorization"="Bearer ${env:MATRIX_ACCESS_TOKEN}"}

 

+exit 0