fix(deps): update dependency com.google.errorprone:error_prone_annota… #1161
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: Build, test and deploy artifacts with Maven | |
| on: | |
| workflow_dispatch: { } | |
| release: | |
| types: [ published ] | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| publish-maven: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| checks: write | |
| pull-requests: write | |
| packages: write | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v5 | |
| name: Checkout | |
| - name: Set up Go environment | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: 1.25.3 | |
| - name: Set up Java environment | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| cache: maven | |
| gpg-private-key: ${{ secrets.MAVEN_CENTRAL_GPG_SIGNING_KEY_SEC }} | |
| gpg-passphrase: MAVEN_CENTRAL_GPG_PASSPHRASE | |
| - name: Login to Docker Hub | |
| uses: docker/login-action@v3 | |
| with: | |
| username: ${{ secrets.DOCKERHUB_USR }} | |
| password: ${{ secrets.DOCKERHUB_PSW }} | |
| - name: Login to GitHub Container Registry | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build Go Artefact | |
| run: go build | |
| working-directory: cawemo-to-web-modeler-migration | |
| - name: Deploy SNAPSHOT / Release | |
| uses: camunda-community-hub/community-action-maven-release@v2 | |
| with: | |
| maven-additional-options: -P!autoFormat | |
| release-version: ${{ github.event.release.tag_name }} | |
| nexus-usr: ${{ secrets.NEXUS_USR }} | |
| nexus-psw: ${{ secrets.NEXUS_PSW }} | |
| sonatype-central-portal-usr: ${{ secrets.COMMUNITY_HUB_MAVEN_CENTRAL_CP_USR }} | |
| sonatype-central-portal-psw: ${{ secrets.COMMUNITY_HUB_MAVEN_CENTRAL_CP_PSW }} | |
| maven-gpg-passphrase: ${{ secrets.MAVEN_CENTRAL_GPG_SIGNING_KEY_PASSPHRASE }} | |
| maven-auto-release-after-close: true | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| id: release | |
| - if: github.event.release | |
| name: Attach Java artifacts to GitHub Release (Release only) | |
| uses: actions/upload-release-asset@v1 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| upload_url: ${{ github.event.release.upload_url }} | |
| asset_path: ${{ steps.release.outputs.artifacts_archive_path }} | |
| asset_name: camunda-7-to-8-migration.zip | |
| asset_content_type: application/zip | |
| - if: github.event.release | |
| name: Attach Go artifacts to GitHub Release (Release only) | |
| uses: actions/upload-release-asset@v1 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| upload_url: ${{ github.event.release.upload_url }} | |
| asset_path: cawemo-to-web-modeler-migration/cawemo-to-web-modeler-migration | |
| asset_name: cawemo-to-web-modeler-migration | |
| asset_content_type: application/octet-stream | |
| - name: Publish Unit Test Results | |
| id: publish | |
| uses: EnricoMi/publish-unit-test-result-action@v2 | |
| if: always() | |
| with: | |
| files: '**/target/surefire-reports/*.xml' |