更新 .github/workflows/build.yml
/ build (push) Failing after 1m10s

This commit is contained in:
2026-06-19 07:48:32 +08:00
Unverified
parent 116749a5b5
commit 40ca08f6f3
+30 -10
View File
@@ -7,13 +7,33 @@ jobs:
build: build:
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- name: debug-env - name: Checkout
run: | uses: actions/checkout@v4
echo USERPROFILE=%USERPROFILE%
echo HOME=%HOME% - name: Setup XMake
echo. uses: xmake-io/github-action-setup-xmake@v1
where git
git --version - name: Cache
echo. uses: actions/cache@v4
git config --list --show-origin | findstr /i "insteadOf sslVerify proxy" with:
shell: cmd path: |
~/AppData/Local/.xmake
key: xmake-${{ hashFiles('xmake.lua') }}
restore-keys: |
xmake-
- name: Update Repo
run: xmake repo -u
- name: Update Project
run: xmake f -a x64 -m release -p windows -v -y
- name: Build Project
run: xmake -v -y
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: ${{ github.event.repository.name }}-windows-x64-${{ github.sha }}
path: |
bin/