Skip to content

Commit

Permalink
fixing caching steps in GH workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
m0rkeulv committed May 1, 2023
1 parent 5ed6a93 commit 83571e2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 24 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,10 @@ jobs:
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle

- name: Cache plugin downloads
uses: actions/cache@v3
with:
path: $GITHUB_WORKSPACE/dependencies
key: ${{ matrix.IDEA_VERSION }}-downloads-${{ hashFiles('downloads/**') }}
restore-keys: ${{ matrix.IDEA_VERSION }}-downloads

- name: Cache intelliJ downloads
uses: actions/cache@v3
with:
path: $GITHUB_WORKSPACE/idea-IU
path: $GITHUB_WORKSPACE/idea
key: ${{ matrix.IDEA_VERSION }}-idea-${{ hashFiles('ideaIU-${{ matrix.IDEA_VERSION }}/**') }}
restore-keys: ${{ matrix.IDEA_VERSION }}-idea

Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/prerelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,17 +67,10 @@ jobs:
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle

- name: Cache plugin downloads
uses: actions/cache@v3
with:
path: $GITHUB_WORKSPACE/dependencies
key: ${{ matrix.IDEA_VERSION }}-downloads-${{ hashFiles('downloads/**') }}
restore-keys: ${{ matrix.IDEA_VERSION }}-downloads

- name: Cache intelliJ downloads
uses: actions/cache@v3
with:
path: $GITHUB_WORKSPACE/idea-IU
path: $GITHUB_WORKSPACE/idea
key: ${{ matrix.IDEA_VERSION }}-idea-${{ hashFiles('ideaIU-${{ matrix.IDEA_VERSION }}/**') }}
restore-keys: ${{ matrix.IDEA_VERSION }}-idea

Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,17 +76,10 @@ jobs:
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle

- name: Cache plugin downloads
uses: actions/cache@v3
with:
path: $GITHUB_WORKSPACE/dependencies
key: ${{ matrix.IDEA_VERSION }}-downloads-${{ hashFiles('downloads/**') }}
restore-keys: ${{ matrix.IDEA_VERSION }}-downloads

- name: Cache intelliJ downloads
uses: actions/cache@v3
with:
path: $GITHUB_WORKSPACE/idea-IU
path: $GITHUB_WORKSPACE/idea
key: ${{ matrix.IDEA_VERSION }}-idea-${{ hashFiles('ideaIU-${{ matrix.IDEA_VERSION }}/**') }}
restore-keys: ${{ matrix.IDEA_VERSION }}-idea

Expand Down

0 comments on commit 83571e2

Please sign in to comment.