From bad65f89d06c371354b00f8db7c9ae01fc395cc0 Mon Sep 17 00:00:00 2001 From: Persson-dev Date: Sat, 24 Feb 2024 16:04:25 +0100 Subject: [PATCH] action: fix cache --- .gitea/workflows/linux.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/linux.yaml b/.gitea/workflows/linux.yaml index 6660559..8285d6f 100644 --- a/.gitea/workflows/linux.yaml +++ b/.gitea/workflows/linux.yaml @@ -10,7 +10,7 @@ jobs: - name: Check out repository code uses: actions/checkout@v3 - - uses: actions/cache@v4 + - uses: actions/cache/restore@v4 with: path: ~/.xmake/packages key: 'ubuntu' @@ -25,6 +25,11 @@ jobs: - name: XMake config run: xmake f -p linux -y --root + - uses: actions/cache/save@v4 + with: + path: ~/.xmake/packages + key: 'ubuntu' + - name: Build run: xmake --root