File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+ on :
3
+ push :
4
+ jobs :
5
+ build :
6
+ runs-on : ubuntu-latest
7
+ steps :
8
+ - uses : actions/checkout@v1
9
+ - uses : olafurpg/setup-scala@v2
10
+ - name : Compile
11
+ run : csbt compile
12
+
Original file line number Diff line number Diff line change
1
+ name : Release
2
+ on :
3
+ push :
4
+ tags : ["*"]
5
+ jobs :
6
+ publish :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v1
10
+ - uses : olafurpg/setup-scala@v2
11
+ - uses : olafurpg/setup-gpg@v2
12
+ - name : Publish
13
+ run : |
14
+ git ls-remote --get-url origin
15
+ csbt 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 }}
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
+
You can’t perform that action at this time.
0 commit comments