Skip to content

Commit a7a7d79

Browse files
authored
Merge pull request #7261 from tautschnig/cleanup/msvc-dev-cmd
GitHub actions: use major version only
2 parents 2c12e6f + ec71fc3 commit a7a7d79

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/publish.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- name: Publish documentation
2121
if: ${{ github.event_name == 'push' && startsWith('refs/heads/develop', github.ref) }}
22-
uses: JamesIves/github-pages-deploy-action@4.1.4
22+
uses: JamesIves/github-pages-deploy-action@v4
2323
with:
2424
branch: gh-pages
2525
folder: doc/doxygen-root/html

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

+5-5
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ jobs:
505505
- name: Confirm cvc5 solver is available and log the version installed
506506
run: cvc5 --version
507507
- name: Setup Visual Studio environment
508-
uses: microsoft/setup-msbuild@v1.1
508+
uses: microsoft/setup-msbuild@v1
509509
- name: Prepare ccache
510510
uses: actions/cache@v3
511511
with:
@@ -524,7 +524,7 @@ jobs:
524524
run: cmake --build build --config Release -- /p:UseMultiToolTask=true /p:CLToolExe=clcache
525525
- name: Print ccache stats
526526
run: clcache -s
527-
- uses: ilammy/msvc-dev-cmd@v1.4.1
527+
- uses: ilammy/msvc-dev-cmd@v1
528528
- name: Test cbmc
529529
run: |
530530
Set-Location build
@@ -559,7 +559,7 @@ jobs:
559559
- name: Confirm cvc5 solver is available and log the version installed
560560
run: cvc5 --version
561561
- name: Setup MSBuild
562-
uses: microsoft/setup-msbuild@v1.1
562+
uses: microsoft/setup-msbuild@v1
563563
- name: Initialise Developer Command Line
564564
uses: ilammy/msvc-dev-cmd@v1
565565
- name: Prepare ccache
@@ -656,7 +656,7 @@ jobs:
656656
nuget install clcache -OutputDirectory "c:\tools" -ExcludeVersion -Version 4.1.0
657657
echo "c:\tools\clcache\clcache-4.1.0" >> $env:GITHUB_PATH
658658
- name: Setup Visual Studio environment
659-
uses: microsoft/setup-msbuild@v1.1
659+
uses: microsoft/setup-msbuild@v1
660660
- name: Prepare ccache
661661
uses: actions/cache@v3
662662
with:
@@ -835,7 +835,7 @@ jobs:
835835
echo "lcov_excl_line = UNREACHABLE" > ~/.lcovrc
836836
cmake --build build --target coverage -- -j2
837837
- name: Upload coverage statistics to Codecov
838-
uses: codecov/codecov-action@v3.0.0
838+
uses: codecov/codecov-action@v3
839839
with:
840840
files: build/html/coverage.info
841841
fail_ci_if_error: true

.github/workflows/release-packages.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
echo "deb_package_name=ubuntu-20.04-$deb_package_name" >> $GITHUB_OUTPUT
6464
- name: Get release info
6565
id: get_release_info
66-
uses: bruceadams/get-release@v1.2.0
66+
uses: bruceadams/get-release@v1
6767
- name: Upload binary packages
6868
uses: actions/upload-release-asset@v1
6969
with:
@@ -151,7 +151,7 @@ jobs:
151151
echo "deb_package_name=ubuntu-18.04-$deb_package_name" >> $GITHUB_OUTPUT
152152
- name: Get release info
153153
id: get_release_info
154-
uses: bruceadams/get-release@v1.2.0
154+
uses: bruceadams/get-release@v1
155155
- name: Upload binary packages
156156
uses: actions/upload-release-asset@v1
157157
with:
@@ -219,7 +219,7 @@ jobs:
219219
nuget install clcache -OutputDirectory "c:\tools" -ExcludeVersion -Version 4.1.0
220220
echo "c:\tools\clcache\clcache-4.1.0" >> $env:GITHUB_PATH
221221
- name: Setup Visual Studio environment
222-
uses: microsoft/setup-msbuild@v1.1
222+
uses: microsoft/setup-msbuild@v1
223223
- name: Setup code sign environment
224224
run: |
225225
echo "$(Split-Path -Path $(Get-ChildItem -Path "${env:ProgramFiles(x86)}\Windows Kits\10\App Certification Kit\signtool.exe"))" >> $env:GITHUB_PATH
@@ -281,7 +281,7 @@ jobs:
281281
& signtool.exe verify /pa ${{ steps.create_packages.outputs.msi_installer }}
282282
- name: Get release info
283283
id: get_release_info
284-
uses: bruceadams/get-release@v1.2.0
284+
uses: bruceadams/get-release@v1
285285
- name: Upload binary packages
286286
uses: actions/upload-release-asset@v1
287287
with:

0 commit comments

Comments
 (0)