Skip to content

EVA-FLYWAY opt out creating schema on migration (#115) #92

EVA-FLYWAY opt out creating schema on migration (#115)

EVA-FLYWAY opt out creating schema on migration (#115) #92

Workflow file for this run

name: Main pipeline
on:
push:
branches: [ main ]
jobs:
build_main:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.inputs.branch }}
- uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'temurin'
- name: Build project
run: ./gradlew build
- name: Publish to Maven releases
run: ./gradlew publish -Drelease=true
env:
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
SONATYPE_PASS: ${{ secrets.SONATYPE_PASS }}
- name: Cleanup gradle daemon cache
run: ./gradlew --stop
- run: echo "::set-output name=short::$(git rev-parse --short HEAD)"
id: git_sha
- name: Publish to Maven snapshots
run: ./gradlew publish -Drelease=false
env:
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
SONATYPE_PASS: ${{ secrets.SONATYPE_PASS }}
GITHUB_SHA: ${{ steps.git_sha.outputs.short }}