-
Notifications
You must be signed in to change notification settings - Fork 2
36 lines (36 loc) · 920 Bytes
/
release.yml
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
31
32
33
34
35
36
name: Release
on:
push:
branches: [main]
paths-ignore:
- 'docs/**'
- '*.md'
- 'mkdocs.yml'
- 'requirements.txt'
- 'netlify.toml'
- '**/build.yml'
- '**/docs.yml'
- '**/Examples.scala'
- '.gitignore'
tags: ["*"]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
key: ${{ runner.os }}-scala
path: |
~/.ivy2/cache
~/.sbt
- uses: olafurpg/setup-scala@v13
with:
java-version: [email protected]
- name: Publish ${{ github.ref }}
run: sbt ci-release
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}