File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build Windows Keytools executables
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+ branches : [ '*' ]
9+
10+ jobs :
11+ build-windows :
12+ runs-on : windows-latest
13+
14+ steps :
15+ # Step 1: Checkout the repository
16+ - name : Checkout Code
17+ uses : actions/checkout@v3
18+
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
26+
27+ # Step 3: Build the solution
28+ - name : Build Solution
29+ shell : cmd
30+ 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"
32+
33+ # Step 4: Upload executables as artifacts
34+ - name : Upload EXE Artifacts
35+ uses : actions/upload-artifact@v3
36+ with :
37+ name : windows-keytools
38+ path : |
39+ tools\keytools\*.exe
You can’t perform that action at this time.
0 commit comments