Skip to content

Commit

Permalink
Merge pull request #228 from Syrent/Syrent-patch-2
Browse files Browse the repository at this point in the history
Create hangar.yml
  • Loading branch information
Syrent authored Aug 30, 2023
2 parents 3187438 + c07a55e commit 57d87dd
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/hangar.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Publish to Hangar
on:
push:
branches:
- development
- master

jobs:
publish:
runs-on: ubuntu-22.04
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
- name: Publish
env:
HANGAR_TOKEN: ${{ secrets.HANGAR_API_TOKEN }}
HANGAR_BUILD_CHANNEL: Snapshot
run: ./gradlew build publishPluginPublicationToHangar --stacktrace

0 comments on commit 57d87dd

Please sign in to comment.