This repository has been archived by the owner on Nov 9, 2023. It is now read-only.
Update HTTPRequest.cs #139
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
SOLUTION_FILE_PATH: NEOSPlus.sln | |
BUILD_CONFIGURATION: Release | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Add MSBuild to PATH | |
uses: microsoft/setup-msbuild@v1.0.2 | |
- name: Restore Nuget | |
working-directory: ${{env.GITHUB_WORKSPACE}} | |
run: nuget restore ${{env.SOLUTION_FILE_PATH}} | |
- name: Download Neos | |
shell: pwsh | |
run: | | |
New-Item -Type Directory NeosVR | |
cd NeosVR | |
$web = [System.Net.WebClient]::new() | |
$web.DownloadFile("https://www.7-zip.org/a/7zr.exe","$PWD\7zr.exe") | |
$cvstring = $web.DownloadString('https://cloudxstorage.blob.core.windows.net/install/Pro/Public') | |
$web.DownloadFile("https://assets.neos.com/install/Pro/Data/$cvstring.7z","$env:TEMP\neosupdate.7z") | |
.\7zr.exe x -y "$env:TEMP\neosupdate.7z" * | |
Remove-Item "$env:TEMP\neosupdate.7z" | |
- name: Build | |
working-directory: ${{env.GITHUB_WORKSPACE}} | |
# Add additional options to the MSBuild command line here (like platform or verbosity level). | |
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference | |
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}} |