Skip to content

Commit b58d8b3

Browse files
committed
Removed hardcoded path in favour of variable
1 parent 0199f2e commit b58d8b3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/test.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ jobs:
123123
echo "it seems default shell do not honour -o igncr nor --norc"
124124
dos2unix -v run.sh
125125
find test -type f -name "*.sh" -exec dos2unix -v {} \;
126-
bash.exe --login --norc -o igncr -c "cd /cygdrive/d/a/jtreg-buffer/jtreg-buffer && ./run.sh \"${JAVA_HOME}\""
126+
bash.exe --login --norc -o igncr -c "cd \"$GITHUB_WORKSPACE\" && ./run.sh \"${JAVA_HOME}\""
127127
- name: Upload results
128128
if: ${{ always() }}
129129
uses: actions/upload-artifact@v3
@@ -152,6 +152,11 @@ jobs:
152152
jdkver: "21"
153153
steps:
154154
- uses: actions/checkout@v3
155+
- name: Set up JDK
156+
uses: actions/setup-java@v3
157+
with:
158+
distribution: 'temurin'
159+
java-version: ${{ matrix.jdkver}}
155160
- uses: msys2/setup-msys2@v2
156161
with:
157162
update: true

0 commit comments

Comments
 (0)