Skip to content

Commit

Permalink
Skip sonatype.org publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
huntharo committed Feb 21, 2023
1 parent c3e4506 commit 440d759
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,17 +189,18 @@ jobs:
# https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-apache-maven-registry
# Docs for jsii-release-maven
# https://github.com/cdklabs/jsii-release#maven
- name: Release CDK Construct - Maven Central
working-directory: packages/cdk-construct/
run: |
npx -p npx -p publib@latest publib-maven
env:
MAVEN_ENDPOINT: https://s01.oss.sonatype.org
MAVEN_STAGING_PROFILE_ID: 3127710ac57dbb
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
MAVEN_GPG_PRIVATE_KEY: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
MAVEN_GPG_PRIVATE_KEY_PASSPHRASE: ${{ secrets.MAVEN_GPG_PRIVATE_KEY_PASSPHRASE }}
# 2023-02-20 - sontatype.org is giving 504s
# - name: Release CDK Construct - Maven Central
# working-directory: packages/cdk-construct/
# run: |
# npx -p npx -p publib@latest publib-maven
# env:
# MAVEN_ENDPOINT: https://s01.oss.sonatype.org
# MAVEN_STAGING_PROFILE_ID: 3127710ac57dbb
# MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
# MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
# MAVEN_GPG_PRIVATE_KEY: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
# MAVEN_GPG_PRIVATE_KEY_PASSPHRASE: ${{ secrets.MAVEN_GPG_PRIVATE_KEY_PASSPHRASE }}

# Docs for different release steps and params
# https://www.npmjs.com/package/jsii-release
Expand Down

0 comments on commit 440d759

Please sign in to comment.