Skip to content

Commit

Permalink
change publish local workflow a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
whyoleg committed May 22, 2024
1 parent 13e9ac4 commit baa7fb2
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ jobs:

publish:
needs: [ checks ]
uses: ./.github/workflows/publish-test.yml
uses: ./.github/workflows/publish-local.yml
secrets: inherit
19 changes: 19 additions & 0 deletions .github/workflows/publish-local.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish testing
on: [ workflow_call ]

jobs:
publish:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-gradle
with:
cache-disabled: true

- name: Publish to Maven Local
run: ./gradlew publishToMavenLocal --no-configuration-cache
env:
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{secrets.signingKey}}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{secrets.signingPassword}}
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{secrets.sonatypeUsername}}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{secrets.sonatypePassword}}
27 changes: 0 additions & 27 deletions .github/workflows/publish-test.yml

This file was deleted.

0 comments on commit baa7fb2

Please sign in to comment.