Skip to content

Commit

Permalink
Configure setup-gradle the new way
Browse files Browse the repository at this point in the history
  • Loading branch information
BraisGabin committed Jan 26, 2024
1 parent f6fdd28 commit 474d866
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/pre-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
uses: actions/checkout@v4
- name: Run tests
uses: gradle/actions/setup-gradle@v3
with:
arguments: test
- name: Build
run: ./gradlew build
publish:
name: Check that the publish plugin works
runs-on: ubuntu-latest
Expand All @@ -26,8 +26,8 @@ jobs:
uses: actions/checkout@v4
- name: Check that the publish plugin works
uses: gradle/actions/setup-gradle@v3
with:
arguments: publishToMavenLocal
- name: Build
run: ./gradlew publishToMavenLocal
compile-test-snippets:
name: Compile test snippets
runs-on: ubuntu-latest
Expand All @@ -36,5 +36,5 @@ jobs:
uses: actions/checkout@v4
- name: Compile the snippets in the tests
uses: gradle/actions/setup-gradle@v3
with:
arguments: test -Pcompile-test-snippets
- name: Build
run: ./gradlew test -Pcompile-test-snippets

0 comments on commit 474d866

Please sign in to comment.