Modernize use of some GitHub actions

* CI: Replace get-current-time action with bash date command
* CI: Replace ilammy/msvc-dev-cmd with TheMrMilchmann/setup-msvc-dev@v4
This commit is contained in:
Magne Sjaastad authored and GitHub committed 2026-03-16 11:17:45 +01:00
1 parent 2bf51950e4
commit b0153081fc
2 files changed
+11 -6

No files matched your search

+4 -1
View File
@@ -43,7 +43,10 @@ jobs:
uses: lukka/get-cmake@latest
- name: Use MSVC (Windows)
uses: ilammy/msvc-dev-cmd@v1
if: contains(matrix.os, 'windows')
uses: TheMrMilchmann/setup-msvc-dev@v4
with:
arch: x64
- name: Configure and build
run: |
+7 -5
View File
@@ -109,16 +109,18 @@ jobs:
pip install -r GrpcInterface/Python/build-requirements.txt
- name: Use MSVC (Windows)
uses: ilammy/msvc-dev-cmd@v1
if: contains(matrix.config.os, 'windows')
uses: TheMrMilchmann/setup-msvc-dev@v4
with:
arch: x64
- name: Setup buildcache
uses: CeetronSolutions/setup-buildcache-action@v1.0
- name: Get current time
uses: josStorer/get-current-time@v2
- name: Get current date
id: current-time
with:
format: YYYY-MM-DD
shell: bash
run: echo "formattedTime=$(date -u +%Y-%m-%d)" >> $GITHUB_OUTPUT
- name: Print time stamp
run: echo "timestamp ${{ steps.current-time.outputs.formattedTime }}"