This repository was archived by the owner on Mar 18, 2026. It is now read-only.
Gradle Publish to Private Maven #4
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Gradle Publish to Private Maven | |
| on: | |
| push: | |
| tags: | |
| - '[0-9]+.[0-9]+.[0-9]+' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up JDK 23 | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: 23 | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v4 | |
| - name: Publish to Maven | |
| env: | |
| MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} | |
| MAVEN_SECRET: ${{ secrets.MAVEN_SECRET }} | |
| TAG_VERSION: ${{ github.ref_name }} | |
| run: | | |
| ./gradlew publishAllPublicationsToReleaseRepository | |
| echo "Version: ${TAG_VERSION}" >> $GITHUB_STEP_SUMMARY |