diff --git a/.github/workflows/java-publish-snapshot.yml b/.github/workflows/java-publish-snapshot.yml index 031e5fe5333..1533ae9cf62 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" > settings.xml - mvn --settings 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