chore: update action

This commit is contained in:
2026-04-25 01:38:55 +08:00
Unverified
parent 6cb1b881ae
commit c7c620a397
2 changed files with 28 additions and 13 deletions
+13 -6
View File
@@ -2,18 +2,25 @@ on:
pull_request:
push:
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- uses: actions/checkout@v6
- uses: xmake-io/github-action-setup-xmake@v1
# with:
# xmake-version: branch@master
- uses: actions/cache@v5
with:
xmake-version: 3.0.0
path: |
~/AppData/Local/.xmake
key: xmake-${{ hashFiles('xmake.lua') }}
restore-keys: |
xmake-
- run: |
xmake repo -u
@@ -23,7 +30,7 @@ jobs:
- run: |
xmake -w -y
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: ${{ github.event.repository.name }}-windows-x64-${{ github.sha }}
path: |