diff options
author | ThirteenAG <thirteenag@gmail.com> | 2019-07-20 15:39:51 +0200 |
---|---|---|
committer | ThirteenAG <thirteenag@gmail.com> | 2019-07-20 15:39:51 +0200 |
commit | a525858abfa505d544b1c63418d0f4c6d05fb80f (patch) | |
tree | a090d45c8653a96ed5a3972b630fcb3d8a55c34a /.appveyor.yml | |
parent | small cleanup (diff) | |
download | re3-a525858abfa505d544b1c63418d0f4c6d05fb80f.tar re3-a525858abfa505d544b1c63418d0f4c6d05fb80f.tar.gz re3-a525858abfa505d544b1c63418d0f4c6d05fb80f.tar.bz2 re3-a525858abfa505d544b1c63418d0f4c6d05fb80f.tar.lz re3-a525858abfa505d544b1c63418d0f4c6d05fb80f.tar.xz re3-a525858abfa505d544b1c63418d0f4c6d05fb80f.tar.zst re3-a525858abfa505d544b1c63418d0f4c6d05fb80f.zip |
Diffstat (limited to '')
-rw-r--r-- | .appveyor.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index 14220506..39352f0e 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -9,6 +9,7 @@ environment: install: - cmd: >- git submodule update --init --recursive + premake-vs2019.cmd build: project: build/re3.sln @@ -17,16 +18,29 @@ after_build: # downloading latest release of UAL to make release with UAL and ASI. - ps: >- $releases = "https://github.com/ThirteenAG/Ultimate-ASI-Loader/releases" + $name = "Ultimate-ASI-Loader.zip" + $latestRelease = Invoke-WebRequest $releases/latest -Headers @{"Accept"="application/json"} + $json = $latestRelease.Content | ConvertFrom-Json + $latestVersion = $json.tag_name + $url = "$releases/download/$latestVersion/$name" + + Start-FileDownload $url -FileName 'C:\Ultimate-ASI-Loader.zip' + 7z e c:\Ultimate-ASI-Loader.zip -oc:\Projects\re3\bin\${env:CONFIGURATION} + + cd "bin\${env:CONFIGURATION}" + copy re3.dll re3.asi + 7z u "RE3_${env:CONFIGURATION}+UAL.zip" re3.asi dinput8.dll + Get-ChildItem .\*.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name } artifacts: - path: bin/%CONFIGURATION%/re3.dll |