From a99b6aa1591f28725797ba807c12305cb34bf9f3 Mon Sep 17 00:00:00 2001 From: Vic P Date: Thu, 5 Oct 2023 00:36:21 +0700 Subject: [PATCH] Vutils --- .github/workflows/mingw.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml index 71a28c6..8941004 100644 --- a/.github/workflows/mingw.yml +++ b/.github/workflows/mingw.yml @@ -15,17 +15,31 @@ jobs: build: runs-on: windows-2019 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 + - name: Restore MinGW Build Environment + id: Restore-MinGW-Build-Environment + uses: actions/cache/restore@v3 + with: + path: C:\ProgramData\chocolatey\lib\mingw\tools\install + key: ${{ runner.os }}-MinGW + restore-keys: ${{ runner.os }}-MinGW - name: Setup MinGW Build Environment + if: steps.Restore-MinGW-Build-Environment.outputs.cache-hit != 'true' uses: egor-tensin/setup-mingw@v2 with: platform: x64 version: '12.2.0' + - name: Store MinGW Build Environment + if: steps.Restore-MinGW-Build-Environment.outputs.cache-hit != 'true' + uses: actions/cache/save@v3 + with: + path: C:\ProgramData\chocolatey\lib\mingw\tools\install + key: ${{ runner.os }}-MinGW - name: Verify MinGW Build Environment shell: cmd run: | ECHO. - g++ --version + G++ --version - name: Perform Building working-directory: ${{env.GITHUB_WORKSPACE}} shell: cmd