Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Update issue-ticket.md #194

Update issue-ticket.md

Update issue-ticket.md #194

Workflow file for this run

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 and Extract Neos
shell: pwsh
run: |
$neosInstallPath = "C:\Neos\app"
New-Item -Type Directory -Path $neosInstallPath -Force
cd $neosInstallPath
$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}}
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}