File tree Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Original file line number Diff line number Diff line change 1
1
name : Release
2
+
2
3
on :
3
4
push :
4
5
tags : ["*"]
6
+ workflow_dispatch :
7
+ branches :
8
+ - master
9
+
5
10
jobs :
6
11
publish :
7
12
runs-on : ubuntu-latest
8
13
steps :
9
- - uses : actions/checkout@v1
14
+ - uses : actions/checkout@v2
10
15
- uses : olafurpg/setup-scala@v2
11
- - uses : olafurpg/setup-gpg@v2
12
16
- name : Publish
13
- run : |
14
- git ls-remote --get-url origin
15
- csbt ci-release
16
17
env :
17
18
PGP_PASSPHRASE : ${{ secrets.PGP_PASSPHRASE }}
18
19
PGP_SECRET : ${{ secrets.PGP_SECRET }}
19
20
SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
20
21
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
You can’t perform that action at this time.
0 commit comments