Skip to content

Merge pull request #228 from tarkalabs/nr/text-row #209

Merge pull request #228 from tarkalabs/nr/text-row

Merge pull request #228 from tarkalabs/nr/text-row #209

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 :tarka-ui:assemble
- name: Publish to GitHub Package 🚀
run: bash ./gradlew :tarka-ui:publish
env:
GITHUB_USER: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.SECRET_TOKEN }}