64 json e2e test (#131) #18
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: Lib Release | |
| on: | |
| push: | |
| tags: | |
| - 'release*' | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| release: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: 21 | |
| - uses: actions/cache@v4 | |
| with: | |
| path: ~/.m2/repository | |
| key: release_maven | |
| - uses: s4u/[email protected] | |
| with: | |
| servers: '[{"id": "central", "username": "${env.SONATYPE_CENTRAL_USER}", "password": "${env.SONATYPE_CENTRAL_PASS}"}]' | |
| - uses: crazy-max/ghaction-import-gpg@v6 | |
| with: | |
| gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | |
| passphrase: ${{ secrets.MAVEN_GPG_PASSPHRASE }} | |
| - name: Release | |
| id: release | |
| env: | |
| MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} | |
| SONATYPE_CENTRAL_USER: ${{ secrets.SONATYPE_CENTRAL_USER }} | |
| SONATYPE_CENTRAL_PASS: ${{ secrets.SONATYPE_CENTRAL_PASS }} | |
| run: | | |
| . ./misc/release.sh | |
| echo "new_version=$(cat NEW_VERSION.cache)" >> "$GITHUB_OUTPUT" | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v7 | |
| with: | |
| branch: create-pull-request/bump_version | |
| base: master | |
| delete-branch: true | |
| title: Bump version to ${{ steps.release.outputs.new_version }} | |
| commit-message: | | |
| Bump version to ${{ steps.release.outputs.new_version }} |