From 4e480bf840d98b252fffb3ef97f2e03b5276cfa2 Mon Sep 17 00:00:00 2001 From: Qingtian Wang Date: Thu, 8 Aug 2024 01:36:16 -0500 Subject: [PATCH] + maven wrapper --- .github/workflows/maven-publish.yml | 2 +- .github/workflows/maven.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index aca05cb..d74b864 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -24,7 +24,7 @@ jobs: gpg-private-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }} gpg-passphrase: MAVEN_GPG_PASSPHRASE - name: Publish to OSSRH - run: ./mvnw --batch-mode deploy -Prelease + run: chmod +x ./mvnw && ./mvnw --batch-mode deploy -Prelease env: MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 4d9123d..f825dca 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -26,7 +26,7 @@ jobs: with: java-version: '21' distribution: 'corretto' -# cache: maven + cache: maven - name: Build run: chmod +x ./mvnw && ./mvnw -B package --file pom.xml