Skip to content

Commit 001228a

Browse files
authored
Try to remove COURSIER_ARCHIVE_CACHE configuration (#5916)
Inconsistent application of this environment variable seems to be the cause of #5910. Before applying it everywhere, first let's try removing it to see if it's still needed at all
1 parent 22a7ec8 commit 001228a

File tree

5 files changed

+0
-22
lines changed

5 files changed

+0
-22
lines changed

.github/actions/post-build-selective/action.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ inputs:
88
required: true
99
type: string
1010

11-
coursierarchive:
12-
default: ''
13-
type: string
14-
1511
runs:
1612
using: "composite"
1713
steps:
@@ -48,8 +44,6 @@ runs:
4844
# shell: ${{ inputs.shell }}
4945

5046
- run: ./mill -i -k selective.run ${{ inputs.millargs }}
51-
env:
52-
COURSIER_ARCHIVE_CACHE: ${{ inputs.coursierarchive }}
5347
shell: ${{ inputs.shell }}
5448

5549
- name: Clean-up Test Reports

.github/workflows/post-build-selective.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ on:
1010
required: true
1111
type: string
1212

13-
coursierarchive:
14-
default: "/tmp"
15-
required: false
16-
type: string
1713
java-version:
1814
required: true
1915
type: string
@@ -67,5 +63,4 @@ jobs:
6763

6864
with:
6965
millargs: ${{ inputs.millargs }}
70-
coursierarchive: ${{ inputs.coursierarchive }}
7166
shell: ${{ inputs.shell }}

.github/workflows/publish-artifacts.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,27 +27,22 @@ jobs:
2727
matrix:
2828
include:
2929
- os: ubuntu-latest
30-
coursierarchive: "/tmp"
3130
publishartifacts: __.publishArtifacts
3231
uploadgithub: true
3332

3433
- os: ubuntu-24.04-arm
35-
coursierarchive: "/tmp"
3634
publishartifacts: dist.native.publishArtifacts
3735
uploadgithub: false
3836

3937
- os: macos-13
40-
coursierarchive: "/tmp"
4138
publishartifacts: dist.native.publishArtifacts
4239
uploadgithub: false
4340

4441
- os: macos-latest
45-
coursierarchive: "/tmp"
4642
publishartifacts: dist.native.publishArtifacts
4743
uploadgithub: false
4844

4945
- os: windows-latest
50-
coursierarchive: C:/coursier-arc
5146
publishartifacts: dist.native.publishArtifacts
5247
uploadgithub: false
5348

@@ -62,7 +57,6 @@ jobs:
6257
LANG: "en_US.UTF-8"
6358
LC_MESSAGES: "en_US.UTF-8"
6459
LC_ALL: "en_US.UTF-8"
65-
COURSIER_ARCHIVE_CACHE: ${{ matrix.coursierarchive }}
6660
REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
6761
steps:
6862
- uses: actions/setup-java@v5

.github/workflows/publish-bridges.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ jobs:
2626
LANG: "en_US.UTF-8"
2727
LC_MESSAGES: "en_US.UTF-8"
2828
LC_ALL: "en_US.UTF-8"
29-
COURSIER_ARCHIVE_CACHE: ${{ matrix.coursierarchive }}
3029
REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
3130
MILL_COMPILER_BRIDGE_VERSIONS: ${{ inputs.bridge_versions }}
3231
steps:

.github/workflows/run-tests.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ jobs:
118118
- uses: ./.github/actions/post-build-selective
119119
with:
120120
millargs: ${{ matrix.millargs }}
121-
coursierarchive: "/tmp"
122121
shell: bash
123122

124123
linux:
@@ -224,9 +223,6 @@ jobs:
224223
os: windows-latest
225224
java-version: ${{ matrix.java-version }}
226225
millargs: ${{ matrix.millargs }}
227-
# Provide a shorter coursier archive folder to avoid hitting path-length bugs when
228-
# running the graal native image binary on windows
229-
coursierarchive: "C:/coursier-arc"
230226
shell: powershell
231227

232228
itest:

0 commit comments

Comments
 (0)