action: cache build
All checks were successful
Linux arm64 / Build (push) Successful in 10m9s

This commit is contained in:
2024-02-24 17:21:00 +01:00
parent 186ca76345
commit 3a334b3227

View File

@@ -10,14 +10,17 @@ jobs:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: APT - name: Install opengl
run: | run: |
apt update apt update
apt install libgl-dev -y apt install libgl-dev -y
- uses: actions/cache/restore@v4 - name: Cache
uses: actions/cache@v4
with: with:
path: ~/.xmake/packages path: |
~/.xmake/packages
build
key: 'ubuntu' key: 'ubuntu'
- name: Prepare Xmake - name: Prepare Xmake
@@ -30,11 +33,6 @@ jobs:
- name: XMake config - name: XMake config
run: xmake f -p linux -y --root run: xmake f -p linux -y --root
- uses: actions/cache/save@v4
with:
path: ~/.xmake/packages
key: 'ubuntu'
- name: Build - name: Build
run: xmake --root run: xmake --root