Skip to content

Commit a56be7c

Browse files
authored
Create publish-hangar.yml
1 parent 0890464 commit a56be7c

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/publish-hangar.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Publish hangar
2+
on:
3+
push:
4+
branches:
5+
- master
6+
7+
jobs:
8+
publish_to_sayanrepo:
9+
runs-on: ubuntu-22.04
10+
steps:
11+
- name: Call Build artifacts workflow
12+
uses: boi-carti/sayanvanish/.github/workflows/build-artifacts.yml@master
13+
- name: Publish to Hangar
14+
env:
15+
HANGAR_API_TOKEN: ${{ secrets.HANGAR_API_TOKEN }}
16+
HANGAR_BUILD_CHANNEL: Snapshot
17+
HANGAR_CHANGELOG: ${{ github.event.release.body }}
18+
run: ./gradlew build publishPluginPublicationToHangar --stacktrace

0 commit comments

Comments
 (0)