From 86ed2c7c4e6e2505e765518098f7a4a3289e0bd9 Mon Sep 17 00:00:00 2001 From: Jeremy Rimpo Date: Tue, 21 May 2019 17:16:06 -0500 Subject: CI: Push log files from the main build folder --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index f1ccff60..ef5a5b25 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -25,8 +25,8 @@ on_success: - ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1 - ps: ./send.ps1 success $env:WEBHOOK_URL on_failure: - - appveyor PushArtifact stdout.log - - appveyor PushArtifact stderr.log - ps: Set-Location -Path $env:APPVEYOR_BUILD_FOLDER + - ps: Push-AppveyorArtifact $env:APPVEYOR_BUILD_FOLDER -FileName stdout.log + - ps: Push-AppveyorArtifact $env:APPVEYOR_BUILD_FOLDER -FileName stderr.log - ps: Invoke-RestMethod https://raw.githubusercontent.com/DiscordHooks/appveyor-discord-webhook/master/send.ps1 -o send.ps1 - ps: ./send.ps1 failure $env:WEBHOOK_URL -- cgit v1.3.1