Skip to content

Commit 8272c18

Browse files
committed
Use pre-installed MSBuild
1 parent 18eb3f8 commit 8272c18

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/build-keytools-windows.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,14 @@ jobs:
1616
- name: Checkout Code
1717
uses: actions/checkout@v3
1818

19-
# Step 2: Set up MSBuild
20-
- name: Set up MSBuild Environment
21-
shell: powershell
22-
run: |
23-
# Ensure Visual Studio Build Tools are installed
24-
choco install visualstudio2022buildtools --yes
25-
choco install visualstudio2022-workload-vctools --yes
2619

27-
# Step 3: Build the solution
20+
# Step 2: Build the solution
2821
- name: Build Solution
2922
shell: cmd
3023
run: |
31-
"C:\Program Files\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin\MSBuild.exe" tools/keytools/wolfBootKeyTools.sln /p:Configuration=Release /p:Platform="x64"
24+
MSBuild.exe tools/keytools/wolfBootKeyTools.sln /p:Configuration=Release /p:Platform="x64"
3225
33-
# Step 4: Upload executables as artifacts
26+
# Step 3: Upload executables as artifacts
3427
- name: Upload EXE Artifacts
3528
uses: actions/upload-artifact@v3
3629
with:

0 commit comments

Comments
 (0)