Skip to content

Merge pull request #46 from ucsb-cs156-s24/GT-scheduler-new #97

Merge pull request #46 from ucsb-cs156-s24/GT-scheduler-new

Merge pull request #46 from ucsb-cs156-s24/GT-scheduler-new #97

# 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 will fail)"
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: szenius/[email protected]
with:
timezoneLinux: "America/Los_Angeles"
- uses: actions/[email protected]
- 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:
TEST_PROPERTIES: ${{ secrets.TEST_PROPERTIES }}
PRODUCTION: true
run: mvn -DskipTests clean dependency:list install