generated from aura-ascend/template-service
test #3
@@ -7,20 +7,28 @@ on:
|
|||||||
types: [opened, synchronize, reopened]
|
types: [opened, synchronize, reopened]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
gradle-build:
|
call-publish:
|
||||||
runs-on: ubuntu-latest
|
uses: aura-ascend/common-workflows/.gitea/workflows/build.yaml@master
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
JAVA_VERSION: 17
|
||||||
ref: ${{ inputs.BRANCH_REFERENCE }}
|
secrets: inherit
|
||||||
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
|
|
||||||
|
# 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
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
dev-publish:
|
dev-publish:
|
||||||
if: |
|
# if: |
|
||||||
!startsWith(github.event.head_commit.message, '[RELEASE]')
|
# !startsWith(github.event.head_commit.message, '[RELEASE]')
|
||||||
uses: aura-ascend/common-workflows/.gitea/workflows/publish-artifact.yaml@master
|
uses: aura-ascend/common-workflows/.gitea/workflows/publish-artifact.yaml@master
|
||||||
with:
|
with:
|
||||||
JAVA_VERSION: 17
|
JAVA_VERSION: 17
|
||||||
|
|||||||
Reference in New Issue
Block a user