Skip to content

Commit 9e34440

Browse files
committed
use appveyor config files also for GH builds
update GH action
1 parent 7bee9f1 commit 9e34440

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/CI_build.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,21 @@ jobs:
1919
submodules: 'true'
2020

2121
- name: Add msbuild to PATH
22-
uses: microsoft/setup-msbuild@v1
22+
uses: microsoft/setup-msbuild@v2
23+
24+
- name: "Use CI config files"
25+
run: |
26+
Write-Host "remove PythonSettings.props" -ForegroundColor Green
27+
Remove-Item '.\PythonScript\project\PythonSettings.props'
28+
Rename-Item -Path ".\PythonScript\project\PythonSettings_appveyor.props" -NewName "PythonSettings.props"
29+
Write-Host "remove packages.config" -ForegroundColor Green
30+
Remove-Item '.\PythonScript\project\packages.config'
31+
Rename-Item -Path ".\PythonScript\project\packages_appveyor.config" -NewName "packages.config"
32+
shell: pwsh
33+
working-directory: .
2334

2435
- name: Setup NuGet.exe
25-
uses: nuget/setup-nuget@v1
36+
uses: nuget/setup-nuget@v2
2637

2738
- name: Restore
2839
working-directory: .

0 commit comments

Comments
 (0)