setup
All checks were successful
Publish Snapshot / dev-publish (push) Successful in 2m30s

This commit is contained in:
2025-09-14 22:20:15 +02:00
parent be59535bce
commit 289df21563
2 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
name: Gradle Build on PR
on:
workflow_dispatch:
pull_request:
branches: [master]
types: [opened, synchronize, reopened]
jobs:
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

View File

@@ -0,0 +1,18 @@
name: Publish Snapshot
on:
pull_request:
push:
branches: [ master ]
tags-ignore:
- 'v*'
jobs:
dev-publish:
if: |
!startsWith(github.event.head_commit.message, '[RELEASE]')
uses: aura-ascend/common-workflows/.gitea/workflows/publish-artifact.yaml@master
with:
JAVA_VERSION: 17
BRANCH_REFERENCE: master
secrets: inherit