Update .gitea/workflows/linux.yml
All checks were successful
Linux arm64 / Build (push) Successful in 47s
All checks were successful
Linux arm64 / Build (push) Successful in 47s
This commit is contained in:
@@ -16,25 +16,14 @@ jobs:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Packages List
|
||||
run : |
|
||||
xmake show -l packages | grep -E 'require|project' > ${{ github.workspace }}/packages.txt
|
||||
cat ${{ github.workspace }}/packages.txt
|
||||
|
||||
- name: Calc deps hash
|
||||
uses: seepine/hash-files@v1
|
||||
id: get-hash
|
||||
with:
|
||||
patterns: 'packages.txt'
|
||||
|
||||
- name: Packages cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/.xmake/packages
|
||||
key: ${{ runner.os }}-${{ steps.get-hash.outputs.hash }}
|
||||
path: ${{ github.workspace }}/build/.packages
|
||||
key: ${{ runner.os }}-xmake_cache
|
||||
|
||||
- name: XMake config
|
||||
run: xmake f --policies=package.install_only -p linux -y
|
||||
run: xmake f -p linux -y
|
||||
|
||||
- name: Build
|
||||
run: xmake
|
||||
|
||||
Reference in New Issue
Block a user