Skip to content

Commit

Permalink
ci: use setup-gradle instead of gradle-build-action
Browse files Browse the repository at this point in the history
  • Loading branch information
Siroshun09 committed Jan 31, 2024
1 parent c328bc9 commit 9eccca1
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,13 @@ jobs:
with:
distribution: 'temurin'
java-version: '21'
- name: Validate Gradle wrapper
uses: gradle/[email protected].0
- name: Setup Gradle
uses: gradle/actions/[email protected].0
- run: chmod +x ./gradlew
- name: Publish artifacts
uses: gradle/[email protected]
with:
arguments: |
clean
publish -P box.release=${{ startsWith(github.ref, 'refs/tags/') }}
run: ./gradlew publish -P box.release=${{ startsWith(github.ref, 'refs/tags/') }}
- name: Generate Javadocs
uses: gradle/[email protected]
with:
arguments: aggregateJavadoc -P box.release=${{ startsWith(github.ref, 'refs/tags/') }}
run: ./gradlew aggregateJavadoc -P box.release=${{ startsWith(github.ref, 'refs/tags/') }}
- name: Create top and not-found pages
run: |
cp -f assets/gh-pages.html staging/index.html
Expand Down

0 comments on commit 9eccca1

Please sign in to comment.