diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 00fce41..ad3077a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,13 +20,12 @@ jobs: cache-dependency-path: | thymeleaf/build.gradle.kts core/build.gradle.kts - jte/jte/build.gradle.kts - jte/jte-compiler/build.gradle.kts - jte/kte/build.gradle.kts + jte/build.gradle.kts + kte/build.gradle.kts - name: make gradle executable run: chmod +x ./gradlew - name: publishToMavenLocal - run: ./gradlew :thymeleaf:publishToMavenLocal :jte-compiler:publishToMavenLocal :jte:publishToMavenLocal :core:publishToMavenLocal :kte:publishToMavenLocal + run: ./gradlew :thymeleaf:publishToMavenLocal :jte:publishToMavenLocal :core:publishToMavenLocal :kte:publishToMavenLocal - name: Cache local Maven repository uses: actions/cache@v4 with: @@ -149,9 +148,8 @@ jobs: cache-dependency-path: | thymeleaf/build.gradle.kts core/build.gradle.kts - jte/jte/build.gradle.kts - jte/jte-compiler/build.gradle.kts - jte/kte/build.gradle.kts + jte/build.gradle.kts + kte/build.gradle.kts - name: Run chmod to make gradlew executable run: chmod +x ./gradlew - name: Publish thymeleaf package to staging @@ -187,17 +185,6 @@ jobs: JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.JRELEASER_GPG_PUBLIC_KEY }} JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: ./gradlew :kte:jreleaserDeploy -DaltDeploymentRepository=local::file:./jte/kte/build/staging-deploy --stacktrace - - name: Publish jte-compiler package to staging - run: ./gradlew :jte-compiler:publish - - name: Publish jte package to maven central - env: - JRELEASER_NEXUS2_USERNAME: ${{ secrets.JRELEASER_NEXUS2_USERNAME }} - JRELEASER_NEXUS2_PASSWORD: ${{ secrets.JRELEASER_NEXUS2_PASSWORD }} - JRELEASER_GPG_PASSPHRASE: ${{ secrets.JRELEASER_GPG_PASSPHRASE }} - JRELEASER_GPG_SECRET_KEY: ${{ secrets.JRELEASER_GPG_SECRET_KEY }} - JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.JRELEASER_GPG_PUBLIC_KEY }} - JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: ./gradlew :jte-compiler:jreleaserDeploy -DaltDeploymentRepository=local::file:./jte/jte-compiler/build/staging-deploy --stacktrace - name: Publish core package to staging run: ./gradlew :core:publish - name: Publish core package to maven central