From b2a22a9a5729ea7a0432695953b96312b5a3f294 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Thu, 12 Dec 2024 12:33:55 +0100 Subject: [PATCH] .gitea/build-and-test: enable cache --- .gitea/workflows/build-and-test.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitea/workflows/build-and-test.yml b/.gitea/workflows/build-and-test.yml index 6f0d5ca..824ec55 100644 --- a/.gitea/workflows/build-and-test.yml +++ b/.gitea/workflows/build-and-test.yml @@ -8,6 +8,9 @@ on: jobs: build: runs-on: ubuntu-latest + env: + # Needed to enable the cache: https://about.gitea.com/resources/tutorials/enable-gitea-actions-cache-to-accelerate-cicd + RUNNER_TOOL_CACHE: /toolcache steps: - uses: actions/checkout@v4 @@ -22,6 +25,8 @@ jobs: check: runs-on: ubuntu-latest + env: + RUNNER_TOOL_CACHE: /toolcache steps: - uses: actions/checkout@v4 @@ -41,6 +46,8 @@ jobs: test: runs-on: ubuntu-latest + env: + RUNNER_TOOL_CACHE: /toolcache steps: - uses: actions/checkout@v4 @@ -99,6 +106,8 @@ jobs: docs: runs-on: ubuntu-latest + env: + RUNNER_TOOL_CACHE: /toolcache steps: - uses: actions/checkout@v4