1
- # This file was automatically generated by sbt-github-actions using the
2
- # githubWorkflowGenerate task. You should add and commit this file to
3
- # your git repository. It goes without saying that you shouldn't edit
4
- # this file by hand! Instead, if you wish to make changes, you should
5
- # change your sbt build configuration to revise the workflow description
6
- # to meet your needs, then regenerate this file.
7
-
8
- name : Continuous Integration
1
+ name : Continuous Integration (v3 - master)
9
2
10
3
on :
11
4
pull_request :
12
- branches : ['** ']
5
+ branches : ['master ']
13
6
push :
14
- branches : ['**']
15
- tags : [v*]
7
+ branches : ['master']
16
8
17
9
env :
18
10
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
@@ -24,30 +16,14 @@ jobs:
24
16
matrix :
25
17
os : [ubuntu-latest]
26
18
scala : [2.11.12, 2.12.20, 2.13.15, 3.3.4]
27
- java : [zulu@8, zulu@11, zulu@ 17, zulu@21]
19
+ java : [zulu@17, zulu@21]
28
20
runs-on : ${{ matrix.os }}
29
21
steps :
30
22
- name : Checkout current branch (full)
31
23
uses : actions/checkout@v4
32
24
with :
33
25
fetch-depth : 0
34
26
35
- - name : Setup Java (zulu@8)
36
- if : matrix.java == 'zulu@8'
37
- uses : actions/setup-java@v4
38
- with :
39
- distribution : zulu
40
- java-version : 8
41
- cache : sbt
42
-
43
- - name : Setup Java (zulu@11)
44
- if : matrix.java == 'zulu@11'
45
- uses : actions/setup-java@v4
46
- with :
47
- distribution : zulu
48
- java-version : 11
49
- cache : sbt
50
-
51
27
- name : Setup Java (zulu@17)
52
28
if : matrix.java == 'zulu@17'
53
29
uses : actions/setup-java@v4
64
40
java-version : 21
65
41
cache : sbt
66
42
67
- - name : Check that workflows are up to date
68
- run : sbt -J-Xmx2G '++ ${{ matrix.scala }}' githubWorkflowCheck
69
-
70
- - name : Build project
71
- run : sbt -J-Xmx2G '++ ${{ matrix.scala }}' test
43
+ - run : sbt -J-Xmx2G '++ ${{ matrix.scala }}' test mimaReportBinaryIssues
72
44
73
45
- name : Compress target directories
74
46
run : tar cf targets.tar target project/target
@@ -82,51 +54,25 @@ jobs:
82
54
publish :
83
55
name : Publish Artifacts
84
56
needs : [build]
85
- if : github.event_name != 'pull_request' && ( github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/2.') || startsWith(github.ref, 'refs/tags/v'))
57
+ if : github.event_name != 'pull_request' && github.ref == 'refs/heads/master'
86
58
strategy :
87
59
matrix :
88
60
os : [ubuntu-latest]
89
61
scala : [2.13.15]
90
- java : [zulu@8]
91
62
runs-on : ${{ matrix.os }}
92
63
steps :
93
64
- name : Checkout current branch (full)
94
65
uses : actions/checkout@v4
95
66
with :
96
67
fetch-depth : 0
97
68
98
- - name : Setup Java (zulu@8)
99
- if : matrix.java == 'zulu@8'
100
- uses : actions/setup-java@v4
101
- with :
102
- distribution : zulu
103
- java-version : 8
104
- cache : sbt
105
-
106
- - name : Setup Java (zulu@11)
107
- if : matrix.java == 'zulu@11'
108
- uses : actions/setup-java@v4
109
- with :
110
- distribution : zulu
111
- java-version : 11
112
- cache : sbt
113
-
114
69
- name : Setup Java (zulu@17)
115
- if : matrix.java == 'zulu@17'
116
70
uses : actions/setup-java@v4
117
71
with :
118
72
distribution : zulu
119
73
java-version : 17
120
74
cache : sbt
121
75
122
- - name : Setup Java (zulu@21)
123
- if : matrix.java == 'zulu@21'
124
- uses : actions/setup-java@v4
125
- with :
126
- distribution : zulu
127
- java-version : 21
128
- cache : sbt
129
-
130
76
- name : Download target directories (2.11.12)
131
77
uses : actions/download-artifact@v4
132
78
with :
@@ -170,7 +116,7 @@ jobs:
170
116
- env :
171
117
CI_SNAPSHOT_RELEASE : +publishSigned
172
118
PGP_PASSPHRASE : ${{ secrets.PGP_PASSPHRASE }}
173
- SONATYPE_PASSWORD : ${{ secrets.CI_S01_DEPLOY_PASSWORD }}
174
- SONATYPE_USERNAME : ${{ secrets.CI_S01_DEPLOY_USERNAME }}
119
+ SONATYPE_PASSWORD : ${{ secrets.CI_DEPLOY_PASSWORD3 }}
120
+ SONATYPE_USERNAME : ${{ secrets.CI_DEPLOY_USERNAME3 }}
175
121
PGP_SECRET : ${{ secrets.PGP_SECRET }}
176
- run : sbt -J-Xmx2G ci-release
122
+ run : sbt -J-Xmx2G ci-release
0 commit comments