Skip to content

Commit

Permalink
feat: add SIGNING_KEY and PASSWORD env variables & secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
scraly authored Aug 29, 2024
1 parent dc6ec0e commit 35147d0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ env:
PYPI_USERNAME: "__token__"
PUBLISH_REPO_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
PUBLISH_REPO_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
# Include only last 8 hex digits of the key ID included, due tolimitations of gradle.
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
# Obtained by `gpg --armor --export-secret-key [email protected]`.
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
# Aka passphrase for the GPG key.
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
PUBLISH_PYPI: true
PUBLISH_NPM: true
PUBLISH_NUGET: true
Expand Down Expand Up @@ -145,7 +151,7 @@ jobs:
$GITHUB_ENV
- if: ${{ matrix.language == 'java' && env.PUBLISH_NRM == 'true' }}
name: Publish Java SDK
uses: gradle/gradle-build-action@9bca466e2722baf9e77b4f929bbe0af18848791f
uses: gradle/gradle-build-action@v3
with:
arguments: publishToSonatype closeAndReleaseSonatypeStagingRepository
build-root-directory: ./sdk/java
Expand Down

0 comments on commit 35147d0

Please sign in to comment.