From 6f966568b747ad16ac2a468f777ca9415d9a71c9 Mon Sep 17 00:00:00 2001 From: engsr6982 <109733049+engsr6982@users.noreply.github.com> Date: Mon, 17 Jun 2024 19:46:29 +0800 Subject: [PATCH] ci: try fix --- .github/workflows/build.yml | 6 ++++++ .github/workflows/release.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 75ffc69..5839f13 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,8 +18,12 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - uses: xmake-io/github-action-setup-xmake@v1 + with: + xmake-version: branch@master - uses: actions/cache@v4 with: @@ -29,6 +33,8 @@ jobs: restore-keys: | xmake- + - uses: microsoft/setup-msbuild@v2 + - run: | xmake repo -u diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 90fbfc9..9a200db 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,8 +8,12 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - uses: xmake-io/github-action-setup-xmake@v1 + with: + xmake-version: branch@master - uses: actions/cache@v4 with: @@ -19,6 +23,8 @@ jobs: restore-keys: | xmake- + - uses: microsoft/setup-msbuild@v2 + - run: | xmake repo -u