Skip to content

Hangar Publish

Hangar Publish #18

Workflow file for this run

name: Hangar Publish
on:
release:
types:
- prereleased
- released
jobs:
build:
env:
API_KEY: ${{ secrets.API_KEY }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Publish with Gradle to Hangar
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
with:
arguments: publishAllPublicationsToHangar