Skip to content

Commit c3e6f3f

Browse files
committed
Try explicit workspace reference
1 parent 0feb389 commit c3e6f3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/run-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
firebird_root_password: 'masterkey'
4141
firebird_conf: 'WireCrypt=Enabled,AuthServer=Srp256;Srp;Legacy_Auth;Srp224;Srp384;Srp512,UserManager=Srp;Legacy_UserManager'
4242
event_port: 3051
43-
volumes: './db-data:/var/lib/firebird/data'
43+
volumes: '{{ $GITHUB_WORKSPACE }}/db-data:/var/lib/firebird/data'
4444
- uses: actions/checkout@v6
4545
- name: Set up Java ${{ matrix.java.version }}
4646
uses: actions/setup-java@v5
@@ -53,7 +53,7 @@ jobs:
5353
with:
5454
cache-read-only: ${{ github.ref != 'refs/heads/master' }}
5555
- name: Build with Gradle
56-
run: ./gradlew test -PbuildProfile=${{ matrix.java.buildProfile }} -PtestProfile=${{ matrix.java.testProfile }} -Ptest.dbondocker=true -Ptest.db.dir=/var/lib/firebird/data -Ptest.event.available=true -Ptest.db.mapped=./db-data
56+
run: ./gradlew test -PbuildProfile=${{ matrix.java.buildProfile }} -PtestProfile=${{ matrix.java.testProfile }} -Ptest.dbondocker=true -Ptest.db.dir=/var/lib/firebird/data -Ptest.event.available=true -Ptest.db.mapped={{ $GITHUB_WORKSPACE }}/db-data
5757
- name: Store Report Artifact
5858
uses: actions/upload-artifact@v7
5959
if: always()

0 commit comments

Comments
 (0)