feat: migrate to kotlin 2xx (#14) #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
GH_USERNAME: ${{ secrets.GH_USERNAME }} | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
cache: gradle | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Publish vn.core.libx.domain | |
run: ./gradlew :libx:domain:publish | |
continue-on-error: true | |
- name: Publish vn.core.libx.data | |
run: ./gradlew :libx:data:publish | |
continue-on-error: true | |
- name: Publish vn.core.libx-ui.base | |
run: ./gradlew :libx:ui:base:publish | |
continue-on-error: true | |
- name: Sending report to Telegram | |
uses: appleboy/telegram-action@master | |
with: | |
to: ${{ secrets.TELEGRAM_TO }} | |
token: ${{ secrets.TELEGRAM_TOKEN }} | |
message: 🚀 Group vn.core.libx new release published on Github Packages! |