-
Notifications
You must be signed in to change notification settings - Fork 3
35 lines (31 loc) · 915 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
name: Release
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Write secrets
run: |
echo -n "${PGP_PUBLIC}" | base64 -d > /tmp/public.asc
echo -n "${PGP_PRIVATE}" | base64 -d > /tmp/secret.asc
env:
PGP_PRIVATE: ${{ secrets.PGP_PRIVATE }}
PGP_PUBLIC: ${{ secrets.PGP_PUBLIC }}
- name: Release 2.12
run: sbt ++2.12.15! releaseEarly
env:
CI: GitHub
PGP_PASSWORD: ${{ secrets.PGP_PASSWORD }}
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
- name: Release 2.13
run: sbt ++2.13.8! releaseEarly
env:
CI: GitHub
PGP_PASSWORD: ${{ secrets.PGP_PASSWORD }}
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}