Skip to content

ci: fast Java formatting check using google-java-format native binary… #75

ci: fast Java formatting check using google-java-format native binary…

ci: fast Java formatting check using google-java-format native binary… #75

---
name: Release Please
on:
push:
branches:
- main
permissions:
actions: write
contents: write
issues: write
pull-requests: write
jobs:
release-please:
if: ${{ github.repository == 'prometheus/client_java' }}
runs-on: ubuntu-24.04
steps:
- uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4.4.0
id: release-please
with:
token: ${{ secrets.GITHUB_TOKEN }}
config-file: .github/config/release-please-config.json
manifest-file: .github/config/.release-please-manifest.json
- name: Trigger deploy to Maven Central
if: ${{ steps.release-please.outputs.releases_created == 'true' }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: >
gh workflow run release.yml
-f tag=${{ steps.release-please.outputs.tag_name }}