Skip to content

Commit 0ef03aa

Browse files
committedApr 4, 2025·
split up tasks in release action
1 parent 35503d2 commit 0ef03aa

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed
 

‎.github/workflows/release.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,18 @@ jobs:
2424
- run: echo $PGP_SECRET | base64 --decode | gpg --batch --import
2525
env:
2626
PGP_SECRET: ${{ secrets.PGP_SECRET }}
27-
- name: Build, test and release
27+
- name: Build and test
2828
shell: bash
29-
run: sbt -v clean test core/Universal/packageBin ciReleaseTagNextVersion ciReleaseSonatype
29+
run: sbt -v clean test
30+
- name: Package core (will be uploaded to github release)
31+
shell: bash
32+
run: sbt -v core/Universal/packageBin
33+
- name: Deploy to sonatype and release to maven central
34+
shell: bash
35+
run: sbt -v ciReleaseTagNextVersion ciReleaseSonatype
3036
env:
3137
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
3238
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
33-
3439
- name: Export ENV vars
3540
run:
3641
echo "LATEST_TAG=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV

0 commit comments

Comments
 (0)
Please sign in to comment.