From 60e526cc7e3bc0a58a6ddcc30502a70dc728a454 Mon Sep 17 00:00:00 2001 From: huanghs Date: Mon, 18 Nov 2024 11:32:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/test-java?= =?UTF-8?q?.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/test-java.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitea/workflows/test-java.yml b/.gitea/workflows/test-java.yml index 25d3098..522a4bc 100644 --- a/.gitea/workflows/test-java.yml +++ b/.gitea/workflows/test-java.yml @@ -2,6 +2,9 @@ name: Test Java on: push: + +env: + RUNNER_TOOL_CACHE: /toolcache jobs: build-image: runs-on: ubuntu-latest @@ -20,4 +23,5 @@ jobs: - name: Run run: | + echo ${{ env.RUNNER_TOOL_CACHE }} java --version \ No newline at end of file