Skip to content

Commit c9eaa62

Browse files
authored
Release with GitHub Actions (#117)
* Release with GitHub Actions * Delete .travis.yml
1 parent a3d9b66 commit c9eaa62

2 files changed

Lines changed: 20 additions & 32 deletions

File tree

.github/workflows/release.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Release
2+
on:
3+
push:
4+
branches: [master]
5+
tags: ["*"]
6+
jobs:
7+
publish:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v1
11+
- uses: olafurpg/setup-scala@v2
12+
- uses: olafurpg/setup-gpg@v2
13+
- run: git fetch --tags || true
14+
- name: Publish ${{ github.ref }}
15+
run: sbt ci-release
16+
env:
17+
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
18+
PGP_SECRET: ${{ secrets.PGP_SECRET }}
19+
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
20+
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}

.travis.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)