@@ -15,20 +15,20 @@ jobs:
1515 id-token : write # Required for the attestations step
1616 attestations : write # Required for the attestations step
1717 steps :
18- - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
19- - uses : actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e # v5.1 .0
18+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
19+ - uses : actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2 .0
2020 with :
2121 distribution : ' temurin'
2222 java-version : ${{ env.JAVA_VERSION }}
2323 cache : ' maven'
2424 - name : Ensure to use tagged version
2525 if : startsWith(github.ref, 'refs/tags/')
26- run : mvn versions:set --file ./pom.xml -DnewVersion=${GITHUB_REF##*/}
26+ run : ./mvnw versions:set --file ./pom.xml -DnewVersion=${GITHUB_REF##*/}
2727 - name : Build and Test
28- run : mvn -B verify --no-transfer-progress
28+ run : ./mvnw -B verify --no-transfer-progress
2929 - name : Attest
3030 if : startsWith(github.ref, 'refs/tags/')
31- uses : actions/attest-build-provenance@00014ed6ed5efc5b1ab7f7f34a39eb55d41aa4f8 # v3.1 .0
31+ uses : actions/attest-build-provenance@96278af6caaf10aea03fd8d33a09a777ca52d62f # v3.2 .0
3232 with :
3333 subject-path : |
3434 target/*.jar
4545 needs : [build]
4646 if : github.repository_owner == 'cryptomator' && (startsWith(github.ref, 'refs/tags/') || contains(github.event.head_commit.message, '[deploy]'))
4747 steps :
48- - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
49- - uses : actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e # v5.1 .0
48+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
49+ - uses : actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2 .0
5050 with :
5151 distribution : ' temurin'
5252 java-version : ${{ env.JAVA_VERSION }}
@@ -56,14 +56,14 @@ jobs:
5656 server-password : MAVEN_CENTRAL_PASSWORD
5757 - name : Ensure to use tagged version
5858 if : startsWith(github.ref, 'refs/tags/')
59- run : mvn versions:set --file ./pom.xml -DnewVersion=${GITHUB_REF##*/}
59+ run : ./mvnw versions:set --file ./pom.xml -DnewVersion=${GITHUB_REF##*/}
6060 - name : Verify project version is -SNAPSHOT
6161 if : startsWith(github.ref, 'refs/tags/') == false
6262 run : |
63- PROJECT_VERSION=$(mvn help:evaluate "-Dexpression=project.version" -q -DforceStdout)
63+ PROJECT_VERSION=$(./mvnw help:evaluate "-Dexpression=project.version" -q -DforceStdout)
6464 test "${PROJECT_VERSION: -9}" = "-SNAPSHOT"
6565 - name : Deploy to Maven Central
66- run : mvn deploy -B -DskipTests -Psign,deploy-central --no-transfer-progress
66+ run : ./mvnw deploy -B -DskipTests -Psign,deploy-central --no-transfer-progress
6767 env :
6868 MAVEN_CENTRAL_USERNAME : ${{ secrets.MAVEN_CENTRAL_USERNAME }}
6969 MAVEN_CENTRAL_PASSWORD : ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
@@ -79,22 +79,22 @@ jobs:
7979 needs : [build]
8080 if : github.repository_owner == 'cryptomator' && (startsWith(github.ref, 'refs/tags/') || contains(github.event.head_commit.message, '[deploy]'))
8181 steps :
82- - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
83- - uses : actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e # v5.1 .0
82+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
83+ - uses : actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2 .0
8484 with :
8585 java-version : ${{ env.JAVA_VERSION }}
8686 distribution : ' temurin'
8787 cache : ' maven'
8888 - name : Ensure to use tagged version
8989 if : startsWith(github.ref, 'refs/tags/')
90- run : mvn versions:set --file ./pom.xml -DnewVersion=${GITHUB_REF##*/}
90+ run : ./mvnw versions:set --file ./pom.xml -DnewVersion=${GITHUB_REF##*/}
9191 - name : Verify project version is -SNAPSHOT
9292 if : startsWith(github.ref, 'refs/tags/') == false
9393 run : |
94- PROJECT_VERSION=$(mvn help:evaluate "-Dexpression=project.version" -q -DforceStdout)
94+ PROJECT_VERSION=$(./mvnw help:evaluate "-Dexpression=project.version" -q -DforceStdout)
9595 test "${PROJECT_VERSION: -9}" = "-SNAPSHOT"
9696 - name : Deploy to GitHub Packages
97- run : mvn deploy -B -DskipTests -Psign,deploy-github --no-transfer-progress
97+ run : ./mvnw deploy -B -DskipTests -Psign,deploy-github --no-transfer-progress
9898 env :
9999 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
100100 MAVEN_GPG_PASSPHRASE : ${{ secrets.RELEASES_GPG_PASSPHRASE }}
0 commit comments