Skip to content

Commit 484c112

Browse files
authored
Merge pull request #3800 from joshuataylor/disable-github-actions-caching
disable github actions caching for gradle, for now
2 parents 993beae + c21488e commit 484c112

File tree

5 files changed

+2
-11
lines changed

5 files changed

+2
-11
lines changed

.github/actions/setup-env/action.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ inputs:
1515
description: 'IntelliJ IDEA version to test against. Keep in sync with the matrix in shared-test.yml'
1616
required: false
1717
default: '253.30387.90' # 2025.3.2 - should match first version in shared-test.yml
18-
gradle-cache-read-only:
19-
description: 'If true, Gradle and Elixir caches are read-only (no writes). Set to false on main branch to seed caches for PRs.'
20-
required: false
21-
default: 'true'
2218
github-token:
2319
description: 'GitHub token for API access (required for setup-java to download JBR)'
2420
required: true
@@ -93,7 +89,7 @@ runs:
9389
id: setup-gradle
9490
uses: gradle/actions/setup-gradle@v5
9591
with:
96-
cache-read-only: ${{ inputs.gradle-cache-read-only }}
92+
cache-disabled: true
9793
add-job-summary-as-pr-comment: 'on-failure'
9894
build-scan-publish: ${{ inputs.build-scan-publish }}
9995
build-scan-terms-of-use-url: 'https://gradle.com/terms-of-service'
@@ -130,7 +126,7 @@ runs:
130126
131127
- name: Save Elixir cache
132128
id: cache-elixir-save
133-
if: always() && inputs.gradle-cache-read-only != 'true' && steps.cache-elixir-restore.outputs.cache-hit != 'true' && inputs.setup-elixir == 'true'
129+
if: always() && steps.cache-elixir-restore.outputs.cache-hit != 'true' && inputs.setup-elixir == 'true'
134130
uses: actions/cache/save@v5
135131
with:
136132
path: |

.github/workflows/publish-canary.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
uses: ./.github/actions/setup-env
1717
with:
1818
github-token: ${{ secrets.GITHUB_TOKEN }}
19-
gradle-cache-read-only: 'false'
2019
setup-elixir: false
2120

2221
- name: Download Release Asset

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ jobs:
2323
uses: ./.github/actions/setup-env
2424
with:
2525
github-token: ${{ secrets.GITHUB_TOKEN }}
26-
gradle-cache-read-only: 'false'
2726
skip-searchable-options: 'false'
2827

2928
- name: Build with Gradle

.github/workflows/shared-test.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ jobs:
5858
elixir-version: ${{ inputs.elixir-version || '1.13.4' }}
5959
otp-version: ${{ inputs.otp-version || '24.3.4.6' }}
6060
idea-version: ${{ matrix.idea-version }}
61-
gradle-cache-read-only: ${{ github.event_name == 'pull_request' }}
6261
github-token: ${{ secrets.GITHUB_TOKEN }}
6362

6463
- name: Run Tests
@@ -113,7 +112,6 @@ jobs:
113112
uses: ./.github/actions/setup-env
114113
with:
115114
setup-elixir: false
116-
gradle-cache-read-only: ${{ github.event_name == 'pull_request' }}
117115
github-token: ${{ secrets.GITHUB_TOKEN }}
118116
idea-version: '2025.3.2'
119117

.github/workflows/tag.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ jobs:
4040
uses: ./.github/actions/setup-env
4141
with:
4242
github-token: ${{ secrets.GITHUB_TOKEN }}
43-
gradle-cache-read-only: 'false'
4443
skip-searchable-options: 'false'
4544

4645
- name: Build with Gradle

0 commit comments

Comments
 (0)