diff --git a/.appveyor.yml b/.appveyor.yml index 8e13f862..01e9e639 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -39,6 +39,13 @@ test_script: - appveyor DownloadFile https://sourceforge.net/projects/pysolfc/files/PySolFC-Cardsets/PySolFC-Cardsets-2.0/PySolFC-Cardsets-2.0.tar.bz2/download -FileName cardsets.tar.bz2 - tar xf cardsets.tar.bz2 - xargs -ta scripts\cardsets_to_bundle -I file cp -rt dist\data\ PySolFC-Cardsets-2.0\file + - ps: | + $apiUrl = 'https://ci.appveyor.com/api' + $project = Invoke-RestMethod -Method Get -Uri "$apiUrl/projects/shlomif/fc-solve" + $jobId = $project.build.jobs[0].jobId + Invoke-RestMethod -Method Get -Uri "$apiUrl/buildjobs/$jobId/artifacts/fc-solve/pkg-build/fc-solve-for-pysol.zip" -OutFile fc-solve.zip + - 7z x fc-solve.zip + - move fcs-pysol dist\freecell-solver - 7z a -r pysol_win_dist.7z dist\ - SET PYTHONPATH=%cd% - python3 scripts\create_iss.py