From e99f111472367f353809c8cac7821d3b4c66f5a4 Mon Sep 17 00:00:00 2001 From: TaurusXin Date: Wed, 7 Feb 2024 15:13:18 +0800 Subject: [PATCH] fix: add msys2 env --- .github/workflows/autobuild.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index 4083990..ca4e0d9 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -10,13 +10,14 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install dependencies - run: | - pacman -Syu --noconfirm - pacman -S --noconfirm mingw-w64-ucrt-x86_64-toolchain - echo "C:\msys64\mingw64\bin" >> $GITHUB_PATH + uses: msys2/setup-msys2@v2 + with: + msystem: UCRT64 + update: true + install: git mingw-w64-ucrt-x86_64-toolchain - name: Build run: mingw32-make win32