Skip to content

Commit

Permalink
ci(github): use gradle/actions/setup-gradle@v3
Browse files Browse the repository at this point in the history
  • Loading branch information
iseki0 committed May 15, 2024
1 parent 2df2d0c commit cfbc299
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ jobs:
build:

runs-on: ubuntu-latest
permissions:
contents: write
packages: write

steps:
- uses: actions/checkout@v3
Expand All @@ -23,10 +20,14 @@ jobs:
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file

- name: Build with Gradle
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v3
with:
arguments: build
validate-wrappers: true
build-scan-publish: true
build-scan-terms-of-use-url: "https://gradle.com/terms-of-service"
build-scan-terms-of-use-agree: "yes"

- name: Run build
run: ./gradlew build --scan

- name: Run snapshot action
uses: mikepenz/[email protected]

0 comments on commit cfbc299

Please sign in to comment.