Update appveyor.yml

This commit is contained in:
MelonSpeedruns 2020-02-06 15:20:01 -05:00 committed by Ash
parent 8db1a7cc97
commit e76fe069ed

View file

@ -21,17 +21,23 @@ build_script:
dotnet publish -c $env:config -r osx-x64
(Get-Content -path $env:APPVEYOR_BUILD_FOLDER\Version.json -Raw) -replace '_ver',$env:APPVEYOR_BUILD_VERSION
(Get-Content -path $env:APPVEYOR_BUILD_FOLDER\Version.json -Raw) -replace '_pr',$env:APPVEYOR_PULL_REQUEST_NUMBER
(Get-Content -path $env:APPVEYOR_BUILD_FOLDER\Version.json -Raw) -replace '_branch',$env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH
Copy-Item $env:APPVEYOR_BUILD_FOLDER\Version.json -Destination $env:APPVEYOR_BUILD_FOLDER\Ryujinx\bin\$env:config\netcoreapp3.0\win-x64\publish\
7z a ryujinx$env:config_name$env:APPVEYOR_BUILD_VERSION-win_x64.zip $env:APPVEYOR_BUILD_FOLDER\Ryujinx\bin\$env:config\netcoreapp3.0\win-x64\publish\
Copy-Item $env:APPVEYOR_BUILD_FOLDER\Version.json -Destination $env:APPVEYOR_BUILD_FOLDER\Ryujinx\bin\$env:config\netcoreapp3.0\linux-x64\publish\
7z a ryujinx$env:config_name$env:APPVEYOR_BUILD_VERSION-linux_x64.tar $env:APPVEYOR_BUILD_FOLDER\Ryujinx\bin\$env:config\netcoreapp3.0\linux-x64\publish\
7z a ryujinx$env:config_name$env:APPVEYOR_BUILD_VERSION-linux_x64.tar.gz ryujinx$env:config_name$env:APPVEYOR_BUILD_VERSION-linux_x64.tar
Copy-Item $env:APPVEYOR_BUILD_FOLDER\Version.json -Destination $env:APPVEYOR_BUILD_FOLDER\Ryujinx\bin\$env:config\netcoreapp3.0\osx-x64\publish\
7z a ryujinx$env:config_name$env:APPVEYOR_BUILD_VERSION-osx_x64.zip $env:APPVEYOR_BUILD_FOLDER\Ryujinx\bin\$env:config\netcoreapp3.0\osx-x64\publish\
artifacts: