Skip to content

Commit

Permalink
Adapted to how the TC build actually runs today
Browse files Browse the repository at this point in the history
  • Loading branch information
shartte committed Nov 8, 2023
1 parent 1e311e8 commit 9033020
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,36 +11,26 @@ on:

jobs:
build:
name: Build (Java ${{ matrix.java }}, Gradle ${{ matrix.gradle }})
name: Build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- java: 11
gradle: 7.4
- java: 17
gradle: 7.4
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1000
fetch-tags: true

- name: Setup JDK ${{ matrix.java }}
- name: Setup JDK
uses: actions/setup-java@v2
with:
java-version: ${{ matrix.java }}
java-version: '17'
distribution: 'microsoft'

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-version: ${{ matrix.gradle }}

- name: Build
run: gradle -x test build
run: ./gradlew --info -s -x test build

- name: Test
run: gradle test
run: ./gradlew --info -s test

0 comments on commit 9033020

Please sign in to comment.