Skip to content

Merge pull request #3 from NonSwag/build #4

Merge pull request #3 from NonSwag/build

Merge pull request #3 from NonSwag/build #4

Workflow file for this run

name: Publish
on:
push:
branches:
- master
- dev
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: temurin
cache: gradle
java-version: 21
- name: Publish
env:
HANGAR_SECRET: ${{secrets.HANGAR_KEY}}
run: ./gradlew build publishAllPublicationsToHangar --stacktrace