Hangar Publish #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Hangar Publish | |
on: | |
release: | |
types: | |
- prereleased | |
- released | |
jobs: | |
build: | |
env: | |
HANGAR_API_TOKEN: ${{ secrets.HANGAR_API_TOKEN }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up JDK 19 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '19' | |
distribution: 'temurin' | |
- name: Publish with Gradle to Hangar | |
uses: gradle/gradle-build-action@v2.9.0 | |
with: | |
arguments: publishAllPublicationsToHangar |