From c2807956afa0702495aa80ddb70a7b55b8b50703 Mon Sep 17 00:00:00 2001 From: "Tomoya Matsuura(MacBookPro)" Date: Mon, 5 Feb 2024 00:24:25 +0900 Subject: [PATCH] add tool cache --- .gitea/workflows/ci.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index d48d6bb2..edd7eb48 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -5,6 +5,8 @@ on: - v4 jobs: build: + env: + RUNNER_TOOL_CACHE: /toolcache runs-on: ubuntu-latest steps: - run: git config --global core.quotepath false @@ -26,4 +28,4 @@ jobs: chmod 600 /tmp/act_runner_key - name: rsync public directory run: | - rsync -avz --delete -e "ssh -i /tmp/act_runner_key -p ${{secrets.WEBSERVER_SSH_PORT }}-o StrictHostKeyChecking=no" ${{ gitea.workspace }}/public/* ${{ vars.WEBSERVER_USER }}@${{ vars.WEBSERVER_HOST }}:/var/www/html \ No newline at end of file + rsync -avz --delete -e "ssh -i /tmp/act_runner_key -p ${{ vars.WEBSERVER_PORT }}-o StrictHostKeyChecking=no" ${{ gitea.workspace }}/public/* ${{ vars.WEBSERVER_USER }}@${{ vars.WEBSERVER_HOST }}:/var/www/html \ No newline at end of file