diff --git a/.github/workflows/java-publish-snapshot.yml b/.github/workflows/java-publish-snapshot.yml
index 1533ae9cf62..437c3a6b972 100644
--- a/.github/workflows/java-publish-snapshot.yml
+++ b/.github/workflows/java-publish-snapshot.yml
@@ -63,5 +63,5 @@ jobs:
ASF_USERNAME: ${{ secrets.NEXUS_USER }}
ASF_PASSWORD: ${{ secrets.NEXUS_PW }}
run: |
- echo "apache.snapshots.https$ASF_USERNAME$ASF_PASSWORD" > ${runner.temp}/settings.xml
- mvn --settings ${runner.temp}/settings.xml -U -B -e -fae -ntp -PskipQuality deploy
+ echo "apache.snapshots.https$ASF_USERNAME$ASF_PASSWORD" > ${{runner.temp}}/settings.xml
+ mvn --settings ${{runner.temp}}/settings.xml -U -B -e -fae -ntp -PskipQuality deploy