Skip to content

Commit

Permalink
Update GA workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Tweener committed Feb 9, 2024
1 parent bc1a71f commit 0cbaf20
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Kmplate-lib build

on:
workflow_call:
secrets:
SLACK_WEBHOOK_URL:
required: true
workflow_dispatch:

push:
Expand Down Expand Up @@ -48,4 +51,5 @@ jobs:
notify:
needs: build
uses: ./.github/workflows/notify.yml
secrets: inherit
secrets:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
8 changes: 5 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ on:
types: [ released ]

jobs:
build:
uses: ./.github/workflows/buildDebug.yml
build-release:
uses: ./.github/workflows/buildRelease.yml
secrets:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

publish:
needs: build
needs: build-release

env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
Expand Down
6 changes: 1 addition & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
#Gradle
org.gradle.jvmargs=-Xmx2048M -Dfile.encoding=UTF-8 -Dkotlin.daemon.jvm.options\="-Xmx2048M"
org.gradle.caching=true
org.gradle.configuration-cache=true

#Kotlin
kotlin.code.style=official

#Android
android.useAndroidX=true
android.nonTransitiveRClass=true
android.nonTransitiveRClass=true

0 comments on commit 0cbaf20

Please sign in to comment.