Skip to content

Commit

Permalink
Tweak build script
Browse files Browse the repository at this point in the history
  • Loading branch information
will-molloy committed Jun 3, 2024
1 parent 49f9927 commit 857171b
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,16 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Java 21
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: corretto
java-version: 21

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build
run: ./gradlew projects clean build --no-daemon --refresh-dependencies
run: |
chmod +x gradlew
./gradlew projects clean build --no-daemon --refresh-dependencies
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
Expand All @@ -46,17 +45,16 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Java 21
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: corretto
java-version: 21

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Integration Test
run: ./gradlew projects clean integrationTest --no-daemon --refresh-dependencies
run: |
chmod +x gradlew
./gradlew projects clean integrationTest --no-daemon --refresh-dependencies
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
Expand Down

0 comments on commit 857171b

Please sign in to comment.