Bump org.junit.jupiter:junit-jupiter from 5.10.0 to 5.11.3 #49
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: Maven Deploy | |
on: | |
push: | |
tags: | |
- '*' | |
branches: | |
- main # or your default branch | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '21' | |
- name: Cache Maven packages | |
uses: actions/cache@v3 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Extract tag name | |
id: extract_tag | |
run: echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV | |
- name: Set Maven version | |
if: startsWith(github.ref, 'refs/tags/') | |
run: mvn versions:set -DnewVersion=${{ env.TAG_NAME }} | |
- name: Deploy with Maven | |
run: mvn deploy --settings .mvn/settings.xml | |
env: | |
JOOQ_REPO_USERNAME: ${{ secrets.JOOQ_REPO_USERNAME }} | |
JOOQ_REPO_PASSWORD: ${{ secrets.JOOQ_REPO_PASSWORD }} | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} |