Skip to content

Commit

Permalink
Fix deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ILIYANGERMANOV committed Aug 22, 2024
1 parent 6be5740 commit 5683117
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ on: workflow_dispatch
permissions:
contents: read

env:
ORG_GRADLE_PROJECT_mavenCentralUsername: '${{ secrets.ORG_GRADLE_PROJECT_MAVENCENTRALUSERNAME }}'
ORG_GRADLE_PROJECT_mavenCentralPassword: '${{ secrets.ORG_GRADLE_PROJECT_MAVENCENTRALPASSWORD }}'
ORG_GRADLE_PROJECT_signingInMemoryKeyId: '${{ secrets.ORG_GRADLE_PROJECT_SIGNINGINMEMORYKEYID }}'
ORG_GRADLE_PROJECT_signingInMemoryKey: '${{ secrets.ORG_GRADLE_PROJECT_SIGNINGINMEMORYKEY }}'
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: '${{ secrets.ORG_GRADLE_PROJECT_SIGNINGINMEMORYKEYPASSWORD }}'

jobs:
build:
uses: ./.github/workflows/gradle.yml
Expand Down Expand Up @@ -46,4 +53,4 @@ jobs:
java-version: '17'
distribution: 'temurin'
- name: Public to Maven Central
run: ./gradlew publish
run: ./gradlew publish --no-configuration-cache
3 changes: 3 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ android.nonTransitiveRClass=true
projects.group=com.ivy-apps
projects.version=0.0.1
# Pomfile definitions
GROUP=com.ivy-apps
SONATYPE_HOST=DEFAULT
RELEASE_SIGNING_ENABLED=true
POM_DESCRIPTION=A simple DI container for Kotlin Multiplatform apps.
POM_URL=https://github.com/Ivy-Apps/di/
POM_LICENSE_NAME=The Apache Software License, Version 2.0
Expand Down

0 comments on commit 5683117

Please sign in to comment.