Skip to content

Update publish-hangar.yml #6

Update publish-hangar.yml

Update publish-hangar.yml #6

name: Publish hangar
on:
push:
branches:
- master
jobs:
build:
uses: syrent/sayanvanish/.github/workflows/build-artifacts.yml@master
publish_to_sayanrepo:
needs: build
runs-on: ubuntu-22.04
steps:
- name: Publish to Hangar
env:
HANGAR_API_TOKEN: ${{ secrets.HANGAR_API_TOKEN }}
HANGAR_BUILD_CHANNEL: Snapshot
HANGAR_CHANGELOG: ${{ github.event.release.body }}
run: ./gradlew build publishPluginPublicationToHangar --stacktrace