Skip to content

Commit d38017c

Browse files
authored
Merge pull request #7917 from tautschnig/cleanup/remove-setup-nuget
GitHub actions: No need for setup-nuget
2 parents af41585 + 95340fa commit d38017c

File tree

2 files changed

+8
-20
lines changed

2 files changed

+8
-20
lines changed

.github/workflows/pull-request-checks.yaml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -675,9 +675,8 @@ jobs:
675675
- uses: actions/checkout@v3
676676
with:
677677
submodules: recursive
678-
- uses: nuget/setup-nuget@v1
679-
with:
680-
nuget-version: '5.8.x'
678+
- name: Setup Visual Studio environment
679+
uses: microsoft/setup-msbuild@v1
681680
- name: Fetch dependencies
682681
run: |
683682
choco install winflexbison3
@@ -698,8 +697,6 @@ jobs:
698697
run: z3 --version
699698
- name: Confirm cvc5 solver is available and log the version installed
700699
run: cvc5 --version
701-
- name: Setup Visual Studio environment
702-
uses: microsoft/setup-msbuild@v1
703700
- name: Prepare ccache
704701
uses: actions/cache@v3
705702
with:
@@ -733,9 +730,8 @@ jobs:
733730
- uses: actions/checkout@v3
734731
with:
735732
submodules: recursive
736-
- uses: nuget/setup-nuget@v1
737-
with:
738-
nuget-version: '5.8.x'
733+
- name: Setup MSBuild
734+
uses: microsoft/setup-msbuild@v1
739735
- name: Fetch dependencies
740736
run: |
741737
choco install -y winflexbison3 strawberryperl wget
@@ -757,8 +753,6 @@ jobs:
757753
run: z3 --version
758754
- name: Confirm cvc5 solver is available and log the version installed
759755
run: cvc5 --version
760-
- name: Setup MSBuild
761-
uses: microsoft/setup-msbuild@v1
762756
- name: Initialise Developer Command Line
763757
uses: ilammy/msvc-dev-cmd@v1
764758
- name: Prepare ccache
@@ -804,9 +798,8 @@ jobs:
804798
- uses: actions/checkout@v3
805799
with:
806800
submodules: recursive
807-
- uses: nuget/setup-nuget@v1
808-
with:
809-
nuget-version: '5.8.x'
801+
- name: Setup Visual Studio environment
802+
uses: microsoft/setup-msbuild@v1
810803
- name: Fetch dependencies
811804
run: |
812805
choco install winflexbison3
@@ -817,8 +810,6 @@ jobs:
817810
}
818811
nuget install clcache -OutputDirectory "c:\tools" -ExcludeVersion -Version 4.1.0
819812
echo "c:\tools\clcache\clcache-4.1.0" >> $env:GITHUB_PATH
820-
- name: Setup Visual Studio environment
821-
uses: microsoft/setup-msbuild@v1
822813
- name: Prepare ccache
823814
uses: actions/cache@v3
824815
with:

.github/workflows/release-packages.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -187,16 +187,13 @@ jobs:
187187
- uses: actions/checkout@v3
188188
with:
189189
submodules: recursive
190-
- uses: nuget/setup-nuget@v1
191-
with:
192-
nuget-version: '5.8.x'
190+
- name: Setup Visual Studio environment
191+
uses: microsoft/setup-msbuild@v1
193192
- name: Fetch dependencies
194193
run: |
195194
choco install winflexbison3
196195
nuget install clcache -OutputDirectory "c:\tools" -ExcludeVersion -Version 4.1.0
197196
echo "c:\tools\clcache\clcache-4.1.0" >> $env:GITHUB_PATH
198-
- name: Setup Visual Studio environment
199-
uses: microsoft/setup-msbuild@v1
200197
- name: Setup code sign environment
201198
run: |
202199
echo "$(Split-Path -Path $(Get-ChildItem -Path "${env:ProgramFiles(x86)}\Windows Kits\10\App Certification Kit\signtool.exe"))" >> $env:GITHUB_PATH

0 commit comments

Comments
 (0)