Update main.yml

caching maybe the right dir
This commit is contained in:
OMGeeky
2023-03-26 13:48:25 +02:00
committed by GitHub
parent cd4ad3631a
commit 419ebd1bcc

View File

@@ -1,5 +1,6 @@
name: build
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
@@ -23,14 +24,17 @@ jobs:
- name: Cache Buildozer global directory
uses: actions/cache@v2
with:
path: .buildozer_global
path: src/.buildozer_global
key: buildozer-global-${{ hashFiles('src/buildozer.spec') }} # Replace with your path
- uses: actions/cache@v2
with:
path: .buildozer
path: src/.buildozer
key: ${{ runner.os }}-${{ steps.get-date.outputs.date }}-${{ hashFiles('src/buildozer.spec') }}
- name: Cache Gradle
uses: burrunan/gradle-cache-action@v1
- name: Checkout
uses: actions/checkout@v2