Skip to content

Commit 24d04ad

Browse files
committed
Use variable for workspace directory
1 parent 644e2bf commit 24d04ad

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
- uses: gradle/actions/setup-gradle@v4
2020

2121
- name: Build
22-
run: ./gradlew jar
22+
run: $GITHUB_WORKSPACE/gradlew jar
2323

2424
- name: Test
25-
run: ./gradlew test
25+
run: $GITHUB_WORKSPACE/gradlew test
2626

2727
ant-build-and-test:
2828
runs-on: ubuntu-latest
@@ -36,7 +36,7 @@ jobs:
3636
distribution: temurin
3737

3838
- name: Install JUnit5 for ANT
39-
run: ./ci/install_ant_junit5.sh
39+
run: $GITHUB_WORKSPACE/ci/install_ant_junit5.sh
4040

4141
- name: Download Dependencies
4242
run: ant resolve

0 commit comments

Comments
 (0)