chore: update action
This commit is contained in:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user