Skip to content

Workflow file for this run

name: Deploy Kakao to Sonatype
on:
release:
types: [ published ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: 17
- uses: little-core-labs/[email protected]
- name: deploy-release
run: ./gradlew :kakao:publishDefaultPublicationToOSSHRRepository -PreleaseMode=RELEASE --stacktrace
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
notify:
needs: deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Send Telegram Release message
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
message: |
New Kakao Version has been released https://github.com/KakaoCup/Kakao/releases/