mirror of
https://github.com/ModOrganizer2/modorganizer-plugin_python.git
synced 2026-07-27 14:03:33 -07:00
Test GH integration
This commit is contained in:
+5
-1
@@ -4,8 +4,12 @@ image: Visual Studio 2019
|
|||||||
environment:
|
environment:
|
||||||
WEBHOOK_URL:
|
WEBHOOK_URL:
|
||||||
secure: gOKbXaZM9ImtMD5XrYITvdyZUW/az082G9OIN1EC1Vbg57wBaeLhi49uGjxPw5GVujHku6kxN6ab89zhbS5GVeluR76GM83IbKV4Sh7udXzoYZZdg6YudtYHzdhCgUeiedpswbuczTq9ceIkkfSEWZuh/lMAAVVwvcGsJAnoPFw=
|
secure: gOKbXaZM9ImtMD5XrYITvdyZUW/az082G9OIN1EC1Vbg57wBaeLhi49uGjxPw5GVujHku6kxN6ab89zhbS5GVeluR76GM83IbKV4Sh7udXzoYZZdg6YudtYHzdhCgUeiedpswbuczTq9ceIkkfSEWZuh/lMAAVVwvcGsJAnoPFw=
|
||||||
|
GITHUB_TOKEN:
|
||||||
|
secure: +cT/owF+RLzB5KUPlgsrr2LKqHpyf3jCp/RmRzv5VyPSm8NlTNx2OLUxPGbqj3rZ
|
||||||
build:
|
build:
|
||||||
parallel: true
|
parallel: true
|
||||||
|
install:
|
||||||
|
- cinst gh
|
||||||
build_script:
|
build_script:
|
||||||
- pwsh: >-
|
- pwsh: >-
|
||||||
$ErrorActionPreference = 'Stop'
|
$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}
|
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 ) }
|
if($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode ) }
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|||||||
Reference in New Issue
Block a user