Skip to content

Commit 0f782a8

Browse files
authored
Iss2190 - Fix errors in Test Simbank workflow (#189)
* Fix incorrect HOME path for the macos-latest runner Signed-off-by: Jade Carino <carino_jade@yahoo.co.uk> * Disable gradle cache in Test Simbank workflow Signed-off-by: Jade Carino <carino_jade@yahoo.co.uk> * Fix incorrect passing in of /Users/jadecarino in Test Simbank workflow Signed-off-by: Jade Carino <carino_jade@yahoo.co.uk> --------- Signed-off-by: Jade Carino <carino_jade@yahoo.co.uk>
1 parent 140d125 commit 0f782a8

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/test.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ jobs:
6868
uses: gradle/actions/setup-gradle@v3
6969
with:
7070
gradle-version: '8.9'
71+
cache-disabled: true
7172

7273
- name: Install galasactl with Homebrew
7374
run: |
@@ -95,14 +96,18 @@ jobs:
9596
# If this workflow was called after a Main build, it will share the github.event_name
9697
# with the calling workflow, which is 'push'. Download the artifacts from that build.
9798
- name: Ensure local Maven repo exists
98-
run: mkdir -p /home/runner/.m2/repository
99+
env:
100+
HOME: /Users/runner
101+
run: mkdir -p ${{ env.HOME }}/.m2/repository
99102

100103
- name: Download SimBank from Main Build
101104
if: ${{ github.event_name == 'push' }}
102105
uses: actions/download-artifact@v4
106+
env:
107+
HOME: /Users/runner
103108
with:
104109
name: simplatform
105-
path: /home/runner/.m2/repository
110+
path: ${{ env.HOME }}/.m2/repository
106111

107112
# If this workflow was called by the daily regression test run, build the code.
108113
- name: Build SimBank using local build script

0 commit comments

Comments
 (0)