Skip to content

Commit

Permalink
updated cache path for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ennioVisco committed Jul 5, 2023
1 parent ef97bf3 commit 29ba65f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Save build cache
uses: actions/cache/save@v3
with:
path: ~/build
path: ./build
key: ${{ github.sha }}-${{ github.workflow_id }}-${{ runner.os }}

# Tests running and static code analysis
Expand All @@ -52,14 +52,14 @@ jobs:
- name: Restore build cache
uses: actions/cache/restore@v3
with:
path: ~/build
path: ./build
key: ${{ github.sha }}-${{ github.workflow_id }}-${{ runner.os }}
- name: Gradle check
run: ./gradlew check
- name: Save tests cache
uses: actions/cache/save@v3
with:
path: ~/build
path: ./build
key: ${{ github.sha }}-${{ github.workflow_id }}-${{ runner.os }}

analyze:
Expand All @@ -78,7 +78,7 @@ jobs:
- name: Restore tests cache
uses: actions/cache/restore@v3
with:
path: ~/build
path: ./build
key: ${{ github.sha }}-${{ github.workflow_id }}-${{ runner.os }}
- name: Codecov update
uses: codecov/codecov-action@v3
Expand All @@ -92,7 +92,7 @@ jobs:
- name: Cache SonarCloud packages
uses: actions/cache@v3
with:
path: ~/.sonar/cache
path: ./.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Sonar analyze
Expand Down

0 comments on commit 29ba65f

Please sign in to comment.