From bcd51e0e4e2af7d948f13febbc387aa8a43c64cd Mon Sep 17 00:00:00 2001 From: Alfi Maulana Date: Fri, 30 Jun 2023 14:58:20 +0700 Subject: [PATCH] update build WindowsXPKg step (#38) --- .github/workflows/linux.yml | 6 ++++-- .github/workflows/windows.yml | 9 +++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index e99388e..34f8480 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -18,8 +18,10 @@ jobs: sudo apt -y update sudo apt -y install build-essential cmake libssl-dev - - name: Build WindowsXPKg - uses: threeal/cmake-action@latest + - name: Configure and build WindowsXPKg + uses: threeal/cmake-action@v1.2.0 + with: + run-build: true - name: Move files to correct directory run: | diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index b6b5a53..bfa5a6a 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -18,11 +18,12 @@ jobs: - name: Setup MSBuild uses: microsoft/setup-msbuild@v1 + - name: Configure WindowsXPKg + uses: threeal/cmake-action@v1.2.0 + - name: Build WindowsXPKg - run: | - cd build - cmake ../ - msbuild ALL_BUILD.vcxproj /P:Configuration=Release + working-directory: build + run: msbuild ALL_BUILD.vcxproj /P:Configuration=Release - name: Copy files and clean up output directory run: |