pc - add dependency for liquibase, latest version #75
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
# This workflow will build a Java project with Maven | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: "40-check-production-build: Check Production Build (if this fails, deploying to Heroku/Dokku will fail)" | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: szenius/set-timezone@v1.2 | |
with: | |
timezoneLinux: "America/Los_Angeles" | |
- uses: actions/checkout@v4 | |
- name: Set up Java (version from .java-version file) | |
uses: actions/setup-java@v3 | |
with: | |
distribution: semeru # See: https://github.com/actions/setup-java#supported-distributions | |
java-version-file: ./.java-version | |
- name: Build with Maven | |
env: | |
PRODUCTION: true | |
run: mvn -DskipTests clean dependency:list install | |