forked from scalalandio/chimney
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (27 loc) · 789 Bytes
/
Copy pathrelease.yml
File metadata and controls
30 lines (27 loc) · 789 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Sonatype Release
on:
push:
branches: [ master ]
tags: [ '*' ]
jobs:
release-tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: coursier/cache-action@v6
- name: Import GPG key for signing the release
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
- uses: coursier/setup-action@v1.3.9
with:
jvm: 'temurin:1.8.0-392'
apps: sbt
- name: Publish all projects
run: sbt ci-release
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}