Skip to content

fix: github action publish artifact failure (#16) #14

fix: github action publish artifact failure (#16)

fix: github action publish artifact failure (#16) #14

Workflow file for this run

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:publishDomainPublicationToPackagesRepository
continue-on-error: true
- name: Publish vn.core.libx.data
run: ./gradlew :libx:data:publishDataPublicationToPackagesRepository
continue-on-error: true
- name: Publish vn.core.libx-ui.base
run: ./gradlew :libx:ui:base:publishAppPublicationToPackagesRepository
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!