Skip to content

Commit

Permalink
chore: try creds directly
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam committed Jun 27, 2024
1 parent 2f879b4 commit 2bb9094
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/action_deploy_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
OSSRH_USER: ${{ secrets.OSSRH_USER }}
OSSRH_KEY: ${{ secrets.OSSRH_KEY }}
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
NEXUS_SETTINGS_XML_ADDENDUM: ${{ secrets.NEXUS_SETTINGS_XML_ADDENDUM }}
- name: Deploy package to Github for SPM & Cocoapods
run: bundle exec fastlane ios publish_swift_package is_snapshot:$is_snapshot
Expand Down
6 changes: 3 additions & 3 deletions build-logic/src/main/kotlin/publication-convention.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ publishing {
name = "OSSRH"

credentials {
username = System.getenv("OSSRH_USER")
password = System.getenv("OSSRH_KEY")
logger.warn("Credentials have been set")
username = System.getenv("OSSRH_USERNAME").toString()
password = System.getenv("OSSRH_PASSWORD").toString()
logger.warn("Credentials have been set ${System.getenv("OSSRH_USERNAME").toString().length} ${System.getenv("OSSRH_PASSWORD").length}")
}
}

Expand Down

0 comments on commit 2bb9094

Please sign in to comment.