Skip to content

Commit

Permalink
Merge pull request #779 from splendo/feature/publish-script-add-local
Browse files Browse the repository at this point in the history
Make Publish Action also Publish to MVN Local
  • Loading branch information
Daeda88 authored May 31, 2024
2 parents bf0328b + d7969b7 commit 31f94c7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ jobs:
with:
path: ~/.konan/*
key: konan

# We're seeing some issues with publishing to Sonatype due to split up repos. By publishing to MavenLocal first we might circumvent this
- name: "Publish MavenLocal"
env:
MAVEN_CENTRAL_RELEASE: ${{ github.ref_name == 'master' }}
run: ./gradlew publishToMavenLocal --stacktrace
- name: "Publish SNAPSHOT"
if: ${{ github.ref_name != 'master' }}
run: ./gradlew publishAllPublicationsToSnapshotsRepository --stacktrace
Expand Down

0 comments on commit 31f94c7

Please sign in to comment.