From 8272c180f74a3135c3d9595c796eecd14f9f38a6 Mon Sep 17 00:00:00 2001 From: Daniele Lacamera Date: Mon, 25 Nov 2024 13:30:38 +0100 Subject: [PATCH] Use pre-installed MSBuild --- .github/workflows/build-keytools-windows.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-keytools-windows.yml b/.github/workflows/build-keytools-windows.yml index 5eea2bf8..eab78486 100644 --- a/.github/workflows/build-keytools-windows.yml +++ b/.github/workflows/build-keytools-windows.yml @@ -16,21 +16,14 @@ jobs: - name: Checkout Code uses: actions/checkout@v3 - # Step 2: Set up MSBuild - - name: Set up MSBuild Environment - shell: powershell - run: | - # Ensure Visual Studio Build Tools are installed - choco install visualstudio2022buildtools --yes - choco install visualstudio2022-workload-vctools --yes - # Step 3: Build the solution + # Step 2: Build the solution - name: Build Solution shell: cmd run: | - "C:\Program Files\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin\MSBuild.exe" tools/keytools/wolfBootKeyTools.sln /p:Configuration=Release /p:Platform="x64" + MSBuild.exe tools/keytools/wolfBootKeyTools.sln /p:Configuration=Release /p:Platform="x64" - # Step 4: Upload executables as artifacts + # Step 3: Upload executables as artifacts - name: Upload EXE Artifacts uses: actions/upload-artifact@v3 with: