generated from aura-ascend/template-service
35 lines
751 B
YAML
35 lines
751 B
YAML
name: Gradle Build on PR
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
branches: [master]
|
|
types: [opened, synchronize, reopened]
|
|
|
|
jobs:
|
|
call-publish:
|
|
uses: aura-ascend/common-workflows/.gitea/workflows/build.yaml@master
|
|
with:
|
|
JAVA_VERSION: 17
|
|
secrets: inherit
|
|
|
|
|
|
|
|
# gradle-build:
|
|
# runs-on: ubuntu-latest
|
|
# steps:
|
|
# - name: Checkout repository
|
|
# uses: actions/checkout@v4
|
|
# with:
|
|
# fetch-depth: 1
|
|
# ref: ${{ inputs.BRANCH_REFERENCE }}
|
|
# token: ${{ secrets.CI_BOT_TOKEN }}
|
|
# - name: Set up JDK
|
|
# uses: actions/setup-java@v4
|
|
# with:
|
|
# distribution: temurin
|
|
# java-version: 17
|
|
#
|
|
# - name: Run Gradle Build
|
|
# run: ./gradlew build
|