Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/publish_android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ jobs:
- name: Check out code
uses: actions/checkout@v4

- name: Clean .build folder
run: |
rm -rf .build/

- name: Export Debug AARs
run: |
skip export --module LemonKit --no-export-project -d android/lib/debug/ --debug
Expand All @@ -25,7 +29,7 @@ jobs:
working-directory: android
env:
VERSION_NAME: ${{ github.ref_name }}
PUBLISH_USER: ${{ secrets.PUBLISH_USER }}
PUBLISH_PAT_TOKEN: ${{ secrets.PUBLISH_PAT_TOKEN }}
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
./gradlew publish
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ version = System.getenv('VERSION_NAME') ?: '0.0.0'

def githubRepo = 'theleftbit/LemonKit'
def githubUrl = "https://maven.pkg.github.com/$githubRepo"
def ghUser = System.getenv('PUBLISH_USER')
def ghToken = System.getenv('PUBLISH_PAT_TOKEN')
def ghUser = System.getenv('GITHUB_ACTOR')
def ghToken = System.getenv('GITHUB_TOKEN')

publishing {
publications {
Expand Down
Loading