Test GH integration

This commit is contained in:
Jeremy Rimpo
2020-09-21 07:51:33 -05:00
parent bfb85087a0
commit afe671d484
+5 -1
View File
@@ -4,8 +4,12 @@ image: Visual Studio 2019
environment:
WEBHOOK_URL:
secure: gOKbXaZM9ImtMD5XrYITvdyZUW/az082G9OIN1EC1Vbg57wBaeLhi49uGjxPw5GVujHku6kxN6ab89zhbS5GVeluR76GM83IbKV4Sh7udXzoYZZdg6YudtYHzdhCgUeiedpswbuczTq9ceIkkfSEWZuh/lMAAVVwvcGsJAnoPFw=
GITHUB_TOKEN:
secure: +cT/owF+RLzB5KUPlgsrr2LKqHpyf3jCp/RmRzv5VyPSm8NlTNx2OLUxPGbqj3rZ
build:
parallel: true
install:
- cinst gh
build_script:
- pwsh: >-
$ErrorActionPreference = 'Stop'
@@ -18,7 +22,7 @@ build_script:
git checkout $(git show-ref --verify --quiet refs/remotes/origin/${env:APPVEYOR_REPO_BRANCH} || echo '-b') ${env:APPVEYOR_REPO_BRANCH}
C:\Python37-x64\python.exe unimake.py -d c:\projects\modorganizer-build -s Appveyor_Build=True ${env:APPVEYOR_PROJECT_NAME}
C:\Python37-x64\python.exe unimake.py -d c:\projects\modorganizer-build -s Appveyor_Build=True -s gh_cli_token=${env:GITHUB_TOKEN} ${env:APPVEYOR_PROJECT_NAME}
if($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode ) }
artifacts: