Skip to content

Commit

Permalink
use appveyor config files also for GH builds
Browse files Browse the repository at this point in the history
update GH action
  • Loading branch information
chcg committed Apr 1, 2024
1 parent 7bee9f1 commit 9e34440
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/CI_build.yml
Expand Up @@ -19,10 +19,21 @@ jobs:
submodules: 'true'

- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1
uses: microsoft/setup-msbuild@v2

- name: "Use CI config files"
run: |
Write-Host "remove PythonSettings.props" -ForegroundColor Green
Remove-Item '.\PythonScript\project\PythonSettings.props'
Rename-Item -Path ".\PythonScript\project\PythonSettings_appveyor.props" -NewName "PythonSettings.props"
Write-Host "remove packages.config" -ForegroundColor Green
Remove-Item '.\PythonScript\project\packages.config'
Rename-Item -Path ".\PythonScript\project\packages_appveyor.config" -NewName "packages.config"
shell: pwsh
working-directory: .

- name: Setup NuGet.exe
uses: nuget/setup-nuget@v1
uses: nuget/setup-nuget@v2

- name: Restore
working-directory: .
Expand Down

0 comments on commit 9e34440

Please sign in to comment.