Skip to content

Merge pull request #138 from tarkalabs/mahi/component/TUIDraggableCard #132

Merge pull request #138 from tarkalabs/mahi/component/TUIDraggableCard

Merge pull request #138 from tarkalabs/mahi/component/TUIDraggableCard #132

Workflow file for this run

name: Package Publishing
on:
workflow_dispatch:
push:
branches:
- develop
jobs:
publish:
name: Release UI Library
runs-on: ubuntu-latest
steps:
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '11'
- name: Checkout
uses: actions/checkout@v3
- name: Cache Gradle and wrapper
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Grant Permission for Gradlew to Execute
run: chmod +x gradlew
- name: Build AAR 🔨
run: bash ./gradlew :tarkaui:assemble
- name: Publish to GitHub Package 🚀
run: bash ./gradlew :tarkaui:publish
env:
GITHUB_USER: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.SECRET_TOKEN }}