From 215f011f2ce9598eee00b687e7764676fd7e32a1 Mon Sep 17 00:00:00 2001 From: kenorb Date: Sun, 4 Feb 2024 01:36:10 +0000 Subject: [PATCH] Adds action cache --- .github/workflows/action.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 0c9b5e5..8ada792 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -49,6 +49,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - uses: actions/cache@v3 + with: + path: "$HOME/.wine/drive_c" + key: wine-${{ hashFiles('.github/workflows/action.yml') }} - name: Install platform uses: dawidd6/action-ansible-playbook@v2 with: @@ -67,12 +71,12 @@ jobs: uses: ./ with: include: tests - mt-path: /home/runner/.wine/drive_c + mt-path: $HOME/.wine/drive_c syntax-only: true verbose: true - name: Run local action (compile) uses: ./ with: include: tests - mt-path: /home/runner/.wine/drive_c + mt-path: $HOME/.wine/drive_c verbose: true