Skip to content

Make use of the builder pattern for the configs #11

Make use of the builder pattern for the configs

Make use of the builder pattern for the configs #11

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
jvm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v1
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 20
- uses: gradle/gradle-build-action@v2.9.0
- name: Build
run: ./gradlew build
publish:
runs-on: ubuntu-latest
if: github.repository == 'SimonScholz/qr-code-with-logo' && github.ref == 'refs/heads/main'
needs:
- jvm
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 20
- uses: gradle/gradle-build-action@v2.9.0
- name: Publish Artifacts
run: ./gradlew publishAllPublicationsToMavenCentral
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_PASSWORD }}