Skip to content

Commit

Permalink
Update GHA workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nicmunroe committed Sep 13, 2024
1 parent b50f901 commit 7bfc850
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,13 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'temurin'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
java-version: '17'
cache: 'gradle'
- uses: gradle/wrapper-validation-action@v3
- name: Build with Gradle
run: ./gradlew clean build
- name: Upload coverage report to CodeCov
Expand All @@ -29,7 +28,7 @@ jobs:
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload reports and test results to GitHub
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: reports-and-test-results
path: |
Expand Down

0 comments on commit 7bfc850

Please sign in to comment.