Update .gitea/workflows/linux.yaml
All checks were successful
Linux arm64 / Build (push) Successful in 13m32s
All checks were successful
Linux arm64 / Build (push) Successful in 13m32s
This commit is contained in:
@@ -15,12 +15,26 @@ jobs:
|
|||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Prepare Xmake
|
- name: Prepare XMake
|
||||||
uses: xmake-io/github-action-setup-xmake@v1
|
uses: xmake-io/github-action-setup-xmake@v1
|
||||||
with:
|
with:
|
||||||
xmake-version: latest
|
xmake-version: latest
|
||||||
actions-cache-folder: '.xmake-cache'
|
actions-cache-folder: '.xmake-cache'
|
||||||
actions-cache-key: 'ubuntu'
|
actions-cache-key: 'xmake-ubuntu'
|
||||||
|
|
||||||
|
- name: Calc deps hash
|
||||||
|
uses: seepine/hash-files@v1
|
||||||
|
id: get-hash
|
||||||
|
with:
|
||||||
|
patterns: |
|
||||||
|
**/xmake.lua
|
||||||
|
**/xmake/*.lua
|
||||||
|
|
||||||
|
- name: Packages cache
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: ~/.xmake
|
||||||
|
key: ${{ runner.os }}-${{ steps.get-hash.outputs.hash }}
|
||||||
|
|
||||||
- name: XMake config
|
- name: XMake config
|
||||||
run: xmake f -p linux -y --root
|
run: xmake f -p linux -y --root
|
||||||
|
|||||||
Reference in New Issue
Block a user