Skip to content

Commit 91aa42f

Browse files
xerialclaude
andcommitted
Update GitHub Actions workflows for Sonatype Central migration
- Fix secret names to use SONATYPE_USERNAME and SONATYPE_PASSWORD - Remove deprecated sonatypeBundleRelease command from release workflow - Consolidate release steps to use publishSigned with correct environment - Update both release.yml and snapshot.yml workflows 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent e03ff87 commit 91aa42f

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,9 @@ jobs:
2626
env:
2727
PGP_SECRET: ${{ secrets.PGP_SECRET }}
2828
run: echo $PGP_SECRET | base64 --decode | gpg --import --batch --yes
29-
- name: Build bundle
30-
env:
31-
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
32-
run: |
33-
./sbt publishSigned
3429
- name: Release to Sonatype
3530
env:
36-
SONATYPE_USERNAME: '${{ secrets.SONATYPE_USER }}'
37-
SONATYPE_PASSWORD: '${{ secrets.SONATYPE_PASS }}'
38-
run: ./sbt sonatypeBundleRelease
31+
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
32+
SONATYPE_USERNAME: '${{ secrets.SONATYPE_USERNAME }}'
33+
SONATYPE_PASSWORD: '${{ secrets.SONATYPE_PASSWORD }}'
34+
run: ./sbt publishSigned

.github/workflows/snapshot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ jobs:
2727
distribution: adopt
2828
- name: Publish snapshots
2929
env:
30-
SONATYPE_USERNAME: '${{ secrets.SONATYPE_USER }}'
31-
SONATYPE_PASSWORD: '${{ secrets.SONATYPE_PASS }}'
30+
SONATYPE_USERNAME: '${{ secrets.SONATYPE_USERNAME }}'
31+
SONATYPE_PASSWORD: '${{ secrets.SONATYPE_PASSWORD }}'
3232
run: ./sbt publish

0 commit comments

Comments
 (0)