chore(deps): update github/codeql-action digest to a67b110 (#645) #551
This file contains 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
# This workflow creates a running release please PR, which tracks all changes | |
# based on semantic PR titles. When that PR is merged, a publish occurs after | |
# release please increments the version. | |
on: | |
push: | |
branches: | |
- main | |
name: Run Release Please | |
permissions: # added using https://github.com/step-security/secure-workflows | |
contents: read | |
jobs: | |
release-please: | |
permissions: | |
contents: write # for google-github-actions/release-please-action to create release commit | |
pull-requests: write # for google-github-actions/release-please-action to create release PR | |
runs-on: ubuntu-latest | |
# Release-please creates a PR that tracks all changes | |
steps: | |
- uses: google-github-actions/release-please-action@2921787898ea2925c9eec03a32aa7404a75399e5 | |
id: release | |
with: | |
command: manifest | |
token: ${{secrets.GITHUB_TOKEN}} | |
default-branch: main | |
# These steps are only run if this was a merged release-please PR | |
- name: checkout | |
if: ${{ steps.release.outputs.releases_created }} | |
uses: actions/checkout@7cdaf2fbc075e6f3b9ca94cfd6cec5adc8a75622 | |
- name: Set up JDK 8 | |
if: ${{ steps.release.outputs.releases_created }} | |
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 | |
with: | |
java-version: '8' | |
distribution: 'temurin' | |
cache: maven | |
server-id: ossrh | |
server-username: ${{ secrets.OSSRH_USERNAME }} | |
server-password: ${{ secrets.OSSRH_PASSWORD }} | |
- name: Configure GPG Key | |
if: ${{ steps.release.outputs.releases_created }} | |
run: | | |
echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import | |
env: | |
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }} | |
- name: Deploy | |
if: ${{ steps.release.outputs.releases_created }} | |
run: | | |
mvn --batch-mode \ | |
--settings release/m2-settings.xml clean deploy | |
env: | |
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} | |
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} |