Fix infinite loop in case of stale optimistic locking exception #128
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
name: Publish to GitHub Packages | |
on: | |
push: | |
branches-ignore: | |
- 'renovate/**' | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
cache: 'maven' | |
- name: Publish package | |
run: mvn -s $GITHUB_WORKSPACE/.github/workflows/github-packages-settings.xml --batch-mode deploy | |
env: | |
USER_NAME: ${{ secrets.VANILLABP_USER_NAME }} | |
USER_TOKEN: ${{ secrets.VANILLABP_USER_TOKEN }} | |
CAMUNDA_USER_TOKEN: ${{ secrets.CAMUNDA_USER_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |