From 258581ee071ba888b005415a9cf64eee5deb0ca0 Mon Sep 17 00:00:00 2001 From: Rick Gibbed Date: Mon, 24 Jan 2022 02:15:23 -0600 Subject: [PATCH] [AppVeyor] Deploy artifacts to GitHub Releases [AppVeyor] Deploy artifacts to GitHub Releases, take two. --- .appveyor.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index d2c7f4b37..cd6503e99 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -56,8 +56,15 @@ artifacts: - path: '*.zip' - path: xenia-cpu-ppc-test.log +before_deploy: + - ps: | + If (-Not $env:APPVEYOR_PULL_REQUEST_NUMBER) { + $env:IS_NOT_PR = "true" + } + deploy: - provider: Environment + name: xenia-master release: xenia-$(appveyor_repo_branch)-v$(appveyor_build_version) artifact: '*.zip' draft: false @@ -74,7 +81,6 @@ deploy: secure: /8he47z1WnPN7LcCTe5T5KMxxX0SmqFj9QMpeWEa3aZ64kMsfupOT/jKakqTM8af release: xenia-$(appveyor_repo_branch)-v$(appveyor_build_version) description: 'Release build for xenia/$(APPVEYOR_REPO_COMMIT)' - artifact: '*.zip' draft: false prerelease: false on: