File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
1
name : CI
2
2
on :
3
3
push :
4
- branches :
4
+ branches :
5
5
- master
6
6
pull_request :
7
- branches :
7
+ branches :
8
8
- master
9
9
workflow_dispatch :
10
10
jobs :
11
11
build :
12
12
runs-on : ubuntu-latest
13
- steps :
13
+ steps :
14
14
- uses : actions/checkout@v3
15
15
- uses : actions/setup-java@v3
16
16
with :
17
17
java-version : 8
18
+ distribution : " adopt"
18
19
- uses : coursier/cache-action@v6
19
20
- id : test
20
21
name : Test
25
26
uses : act10ns/slack@v2
26
27
env :
27
28
SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
28
- with :
29
+ with :
29
30
status : ${{ job.status }}
30
31
steps : ${{ toJson(steps) }}
31
32
if : failure() && env.SLACK_WEBHOOK_URL
Original file line number Diff line number Diff line change 5
5
tags :
6
6
- ' v*'
7
7
workflow_dispatch :
8
-
8
+
9
9
jobs :
10
10
release-sonatype :
11
11
runs-on : ubuntu-latest
17
17
- uses : actions/setup-java@v3
18
18
with :
19
19
java-version : 8
20
+ distribution : " adopt"
20
21
- uses : coursier/cache-action@v6
21
22
- id : test
22
23
name : Test
48
49
uses : act10ns/slack@v2
49
50
env :
50
51
SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
51
- with :
52
+ with :
52
53
status : ${{ job.status }}
53
54
steps : ${{ toJson(steps) }}
54
55
if : failure() && env.SLACK_WEBHOOK_URL
You can’t perform that action at this time.
0 commit comments