Skip to content

Commit

Permalink
Adds action cache
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Feb 4, 2024
1 parent e1656bd commit 215f011
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

0 comments on commit 215f011

Please sign in to comment.