Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Update gradle/gradle-build-action digest to 270f30b #434

Update gradle/gradle-build-action digest to 270f30b

Update gradle/gradle-build-action digest to 270f30b #434

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Java CI with Gradle
on:
push:
branches: [ master,develop ]
pull_request:
branches: [ master,develop ]
permissions: write-all
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Build with Gradle
uses: gradle/gradle-build-action@92cb3fe7e89ddba9f1d737d0855b5d7f69a6a764
with:
arguments: build
- name: Check Javadoc
# warning: [deprecation] 以外で発生しているwarningとerrorを取得し、ヒットした場合は終了コード1で終了
run: "! ./gradlew javadoc 2>&1 | grep -v 'warning: \\[deprecation\\]' | grep -A 2 -e warning: -e error: ; exit $?"
# - name: push Javadoc
# if: github.ref == 'refs/heads/develop'
# uses: actions-js/push@master
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# message: "Javadoc加筆"
# branch: develop