Skip to content

Commit

Permalink
updated github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdudeman committed Jan 16, 2022
1 parent 870a675 commit c164a92
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Java CI

on:
push:
branches: [ $default-branch ]
branches: [ main ]
pull_request:
branches: [ $default-branch ]
branches: [ main ]

jobs:
build:
Expand All @@ -16,9 +16,10 @@ jobs:
- name: Set up JDK 16
uses: actions/setup-java@v2
with:
java-version: '16'
java-version: 16
distribution: 'temurin'
cache: gradle
- name: Build with Gradle
uses: gradle/gradle-build-action@4137be6a8bf7d7133955359dbd952c0ca73b1021
uses: gradle/gradle-build-action@v2
with:
arguments: build

0 comments on commit c164a92

Please sign in to comment.