From 386f73bbb7346ae090fb8501cb072087be1153a4 Mon Sep 17 00:00:00 2001 From: Christopher Pelloux Date: Thu, 7 Nov 2024 13:10:26 -0500 Subject: [PATCH] CI: Update Github actions to fix errors & warnings Update Github actions to v4 for checkout and upload-artifact to fix the following error: ``` This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v2` ``` Update microsoft/setup-msbuild actions to v2 to fix the following warning: ``` The following actions uses node12 which is deprecated and will be forced to run on node16: microsoft/setup-msbuild@v1.0.2 ``` --- .github/workflows/microv.yml | 38 ++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/microv.yml b/.github/workflows/microv.yml index 49836d828..0e8fbd836 100644 --- a/.github/workflows/microv.yml +++ b/.github/workflows/microv.yml @@ -16,7 +16,7 @@ jobs: clang-format: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: path: microv @@ -48,7 +48,7 @@ jobs: build-efi: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: path: microv @@ -71,7 +71,7 @@ jobs: make shell: bash - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: microv_efi path: | @@ -80,7 +80,7 @@ jobs: build-efi-debug: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: path: microv @@ -105,7 +105,7 @@ jobs: make shell: bash - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: microv_efi_debug path: | @@ -114,7 +114,7 @@ jobs: build-efi-noeth: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: path: microv @@ -138,7 +138,7 @@ jobs: make shell: bash - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: microv_efi_noeth path: | @@ -147,13 +147,13 @@ jobs: build-userpace: runs-on: windows-2019 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: path: microv - name: Setup MSBuild (PATH) id: setup_msbuild_path - uses: microsoft/setup-msbuild@v1.0.2 + uses: microsoft/setup-msbuild@v2 - name: Setup run: | @@ -175,7 +175,7 @@ jobs: & msbuild /p:Configuration=Release /p:Platform=x64 /p:TargetVersion=Windows10 hypervisor.sln shell: pwsh - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: microv_userspace path: | @@ -184,13 +184,13 @@ jobs: build-userpace-debug: runs-on: windows-2019 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: path: microv - name: Setup MSBuild (PATH) id: setup_msbuild_path - uses: microsoft/setup-msbuild@v1.0.2 + uses: microsoft/setup-msbuild@v2 - name: Setup run: | @@ -212,7 +212,7 @@ jobs: & msbuild /p:Configuration=Release /p:Platform=x64 /p:TargetVersion=Windows10 hypervisor.sln shell: pwsh - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: microv_userspace_debug path: | @@ -221,13 +221,13 @@ jobs: build-drivers: runs-on: windows-2019 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: path: microv - name: Setup MSBuild (PATH) id: setup_msbuild_path - uses: microsoft/setup-msbuild@v1.0.2 + uses: microsoft/setup-msbuild@v2 - name: Setup run: | @@ -248,7 +248,7 @@ jobs: .\build-all.ps1 -RegisterBasedAbi shell: pwsh - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: microv_drivers path: | @@ -270,13 +270,13 @@ jobs: build-drivers-nocerts: runs-on: windows-2019 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: path: microv - name: Setup MSBuild (PATH) id: setup_msbuild_path - uses: microsoft/setup-msbuild@v1.0.2 + uses: microsoft/setup-msbuild@v2 - name: Setup run: | @@ -301,7 +301,7 @@ jobs: .\build-all.ps1 -RegisterBasedAbi shell: pwsh - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: microv_drivers_nocerts path: |