Skip to content

Commit cb61b6f

Browse files
authored
Restore releases on tags (#432)
1 parent 40e5846 commit cb61b6f

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/publish-release.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,24 @@ jobs:
1010
uses: ./.github/workflows/standard-workflow.yml
1111
secrets: inherit
1212

13+
publish-maven-artifacts:
14+
needs: [run-scala-ci-release]
15+
if: github.event.base_ref == 'refs/heads/main'
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: coursier/cache-action@v6
20+
- uses: coursier/setup-action@v1
21+
22+
- run: git fetch --tags
23+
- name: Publish Maven artifacts
24+
run: sbt ci-release
25+
env:
26+
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
27+
PGP_SECRET: ${{ secrets.PGP_SECRET }}
28+
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
29+
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
30+
1331
publish-github-release:
1432
needs: [run-scala-ci-release]
1533
if: github.event.base_ref == 'refs/heads/main'

0 commit comments

Comments
 (0)