test new cache
Some checks failed
Linux arm64 / Build (push) Failing after 4m3s

This commit is contained in:
2024-08-08 11:19:37 +02:00
parent 746f2cd383
commit cdb6753d52

View File

@@ -5,7 +5,7 @@ on: [push]
jobs: jobs:
Build: Build:
runs-on: ubuntu-latest runs-on: ubuntu-test
steps: steps:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v3 uses: actions/checkout@v3
@@ -17,13 +17,14 @@ jobs:
actions-cache-folder: '.xmake-cache' actions-cache-folder: '.xmake-cache'
actions-cache-key: 'ubuntu-xmake' actions-cache-key: 'ubuntu-xmake'
- name: Packages hash
run : xmake show -l packages | grep require > packages.hash
- name: Calc deps hash - name: Calc deps hash
uses: seepine/hash-files@v1 uses: seepine/hash-files@v1
id: get-hash id: get-hash
with: with:
patterns: | patterns: ~/packages.hash
**/xmake.lua
**/xmake/*.lua
- name: Packages cache - name: Packages cache
uses: actions/cache@v4 uses: actions/cache@v4
@@ -32,7 +33,7 @@ jobs:
key: ${{ runner.os }}-${{ steps.get-hash.outputs.hash }} key: ${{ runner.os }}-${{ steps.get-hash.outputs.hash }}
- name: XMake config - name: XMake config
run: xmake f -p linux -y run: xmake f --policies=package.install_only -p linux -y
- name: Build - name: Build
run: xmake run: xmake