Skip to content

Delete .github/workflows/java-common-workflow.yml #5

Delete .github/workflows/java-common-workflow.yml

Delete .github/workflows/java-common-workflow.yml #5

Workflow file for this run

name: Branch Build
on:
push:
branches:
- master
- version-*
env:
GRADLE_OPTS: -Dorg.gradle.daemon=false -Xmx2g -Xms2g
jobs:
branch-build:
# Only run this on repositories in the 'spinnaker' org, not on forks.
if: startsWith(github.repository, 'spinnaker/')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Gradle validation step
uses: gradle/wrapper-validation-action@v1
- uses: actions/setup-java@v1
with:
java-version: 11
- uses: actions/cache@v1
with:
path: ~/.gradle
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Build
run: ./gradlew build --stacktrace