Skip to content

Commit 4feecf2

Browse files
authored
Sets release.yml github action
1 parent a364793 commit 4feecf2

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,22 @@
11
name: Release
2+
23
on:
34
push:
45
tags: ["*"]
6+
workflow_dispatch:
7+
branches:
8+
- master
9+
510
jobs:
611
publish:
712
runs-on: ubuntu-latest
813
steps:
9-
- uses: actions/checkout@v1
14+
- uses: actions/checkout@v2
1015
- uses: olafurpg/setup-scala@v2
11-
- uses: olafurpg/setup-gpg@v2
1216
- name: Publish
13-
run: |
14-
git ls-remote --get-url origin
15-
csbt ci-release
1617
env:
1718
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
1819
PGP_SECRET: ${{ secrets.PGP_SECRET }}
1920
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
2021
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
21-
- name: Send Slack notification
22-
uses: act10ns/slack@v1
23-
env:
24-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
25-
with:
26-
status: ${{ job.status }}
27-
if: failure()
28-
22+
run: sbt ci-release

0 commit comments

Comments
 (0)