Skip to content

Commit

Permalink
Update gradle build action
Browse files Browse the repository at this point in the history
  • Loading branch information
NoComment1105 committed Jul 2, 2024
1 parent 0172b2f commit f4eeeeb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Check API
uses: gradle/gradle-build-action@v3
uses: gradle/actions/setup-gradle@v3

with:
arguments: clean apiCheck -x build
Expand All @@ -40,7 +40,7 @@ jobs:
run: chmod +x gradlew

- name: Build Artifacts
uses: gradle/gradle-build-action@v3
uses: gradle/actions/setup-gradle@v3
with:
arguments: build --stacktrace -x test
gradle-home-cache-cleanup: true
Expand All @@ -53,7 +53,7 @@ jobs:
# - uses: actions/checkout@v4
#
# - name: Run tests
# uses: gradle/gradle-build-action@v3
# uses: gradle/actions/setup-gradle@v3
# env:
# TEST_TOKEN: ${{ secrets.TEST_TOKEN }}
# with:
Expand All @@ -80,7 +80,7 @@ jobs:
fetch-depth: 0

- name: Publish with Gradle
uses: gradle/gradle-build-action@v3
uses: gradle/actions/setup-gradle@v3
with:
arguments: publish -x test
gradle-home-cache-cleanup: true
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: chmod +x gradlew

- name: Build Artifacts
uses: gradle/gradle-build-action@v3
uses: gradle/actions/setup-gradle@v3
with:
arguments: build --stacktrace -x test
gradle-home-cache-cleanup: true
Expand All @@ -46,7 +46,7 @@ jobs:
fetch-depth: 0

- name: Publish with Gradle
uses: gradle/gradle-build-action@v3
uses: gradle/actions/setup-gradle@v3
with:
arguments: publish -x test
gradle-home-cache-cleanup: true

0 comments on commit f4eeeeb

Please sign in to comment.