2022-08-13 03:51:28 +12:00
|
|
|
name: Publish
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
jobs:
|
2022-10-12 05:36:57 +13:00
|
|
|
publish:
|
2022-08-13 03:51:28 +12:00
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
|
|
- name: Git checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
submodules: 'true'
|
|
|
|
|
|
|
|
- name: Set up GraalVM
|
|
|
|
uses: graalvm/setup-graalvm@v1
|
|
|
|
with:
|
|
|
|
version: '21.3.0'
|
|
|
|
java-version: '17'
|
|
|
|
|
|
|
|
- name: Verify Gradle Wrapper
|
|
|
|
uses: gradle/wrapper-validation-action@v1
|
|
|
|
|
|
|
|
- name: Publish
|
|
|
|
run: ./gradlew publish
|
|
|
|
env:
|
|
|
|
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
|
|
|
|
GPG_KEY: ${{ secrets.GPG_KEY }}
|
|
|
|
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
|
|
|
|
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
|
|
|
|
|
|
|
|
- name: JReleaser
|
2022-10-12 07:22:48 +13:00
|
|
|
run: ./gradlew jreleaserRelease
|
2022-08-13 03:51:28 +12:00
|
|
|
env:
|
2022-08-13 18:55:55 +12:00
|
|
|
XPIPE_GITHUB_TOKEN: ${{ secrets.XPIPE_GITHUB_TOKEN }}
|
|
|
|
XPIPE_DISCORD_WEBHOOK: ${{ secrets.XPIPE_DISCORD_WEBHOOK }}
|