Bump org.openapitools:openapi-generator-maven-plugin from 7.8.0 to 7.… #311
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: Build | |
on: | |
push: | |
branches: [main] | |
schedule: [cron: 0 0 * * 1] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
MAVEN_ARGS: --batch-mode --color=always --no-transfer-progress --settings=.github/settings.xml | |
steps: | |
- run: git config --global user.name "${{ vars.KOKUWA_IO_BOT_NAME }}" | |
- run: git config --global user.email "${{ vars.KOKUWA_IO_BOT_EMAIL }}" | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.GIT_ACTION_TOKEN }} | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 11 | |
cache: maven | |
- run: mvn $MAVEN_ARGS dependency:go-offline | |
- run: mvn $MAVEN_ARGS deploy | |
env: | |
SERVER_USERNAME: ${{ secrets.SONATYPE_NEXUS_USERNAME }} | |
SERVER_PASSWORD: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} | |
- run: mvn $MAVEN_ARGS deploy:deploy --file target/.reduced-pom.xml -DaltDeploymentRepository=sonatype-nexus::https://oss.sonatype.org/content/repositories/snapshots | |
env: | |
SERVER_USERNAME: ${{ secrets.SONATYPE_NEXUS_USERNAME }} | |
SERVER_PASSWORD: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} | |
- run: mvn $MAVEN_ARGS site-deploy | |
env: | |
GIT_ACTION_TOKEN: ${{ secrets.GIT_ACTION_TOKEN }} |