Skip to content

Commit

Permalink
Fix dependency submission workflow (#3971)
Browse files Browse the repository at this point in the history
  • Loading branch information
phearnot authored Oct 3, 2024
1 parent 0c630cf commit 4700447
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/push-default-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: scalacenter/sbt-dependency-submission@v3
with:
configs-ignore: test compile-internal provided
publish-snapshot:
name: Publish Snapshots to Sonatype
runs-on: ubuntu-latest
Expand All @@ -30,5 +32,5 @@ jobs:
SONATYPE_USERNAME: ${{ secrets.OSSRH_USERNAME }}
PGP_PASSPHRASE: ${{ secrets.OSSRH_GPG_PASSPHRASE }}
run: |
version=$(echo ${{ github.base_ref }} | awk -F '[-\.]' '{print $2"."$3}')-SNAPSHOT
version=$(echo ${{ github.ref }} | awk -F '[-.]' '{print $2"."$3}')-SNAPSHOT
sbt -Dproject.version=$version --mem 4096 --batch publishSigned

0 comments on commit 4700447

Please sign in to comment.