Skip to content

Commit

Permalink
Pass renderer to run-android-publish
Browse files Browse the repository at this point in the history
  • Loading branch information
louwers committed Sep 6, 2024
1 parent df5d728 commit 9a7cb4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/android-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,3 +204,4 @@ jobs:
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
SONATYPE_STAGING_PROFILE_ID: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}
RENDERER: ${{ env.backend_lowercase }}
2 changes: 1 addition & 1 deletion platform/android/gradle/gradle-publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ afterEvaluate {
artifactId project.ext.mapLibreArtifactId
version this.version

from components.drawableRelease
from components."${System.getenv('RENDERER')?.toLowerCase() == 'vulkan' ? 'vulkanRelease' : 'drawableRelease'}"

pom {
name = project.ext.mapLibreArtifactTitle
Expand Down

0 comments on commit 9a7cb4b

Please sign in to comment.