add tool cache
Some checks failed
Build / build (push) Failing after 6m4s

This commit is contained in:
Tomoya Matsuura(MacBookPro) 2024-02-05 00:24:25 +09:00
parent 14c815dafe
commit c2807956af

View File

@ -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
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