@@ -12,15 +12,15 @@ jobs:
12
12
strategy :
13
13
fail-fast : true
14
14
matrix :
15
- os : [windows-latest, ubuntu-20.04 , macos-13]
15
+ os : [windows-latest, ubuntu-latest , macos-13]
16
16
steps :
17
17
- name : Checkout repository
18
18
uses : actions/checkout@v4
19
19
with :
20
20
submodules : recursive
21
21
22
22
- name : Check code style
23
- if : matrix.os == 'ubuntu-20.04 '
23
+ if : matrix.os == 'ubuntu-latest '
24
24
uses : dbelyaev/action-checkstyle@e89baf0f8b488b946345b7de8e975be1e3606387 # v1.5.6
25
25
with :
26
26
github_token : ${{ secrets.GITHUB_TOKEN }}
59
59
disk-root : " C:"
60
60
61
61
- name : Set Swap Space (Linux)
62
- if : matrix.os == 'ubuntu-20.04 '
62
+ if : matrix.os == 'ubuntu-latest '
63
63
uses : pierotofy/set-swap-space@49819abfb41bd9b44fb781159c033dba90353a7c # master
64
64
with :
65
65
swap-size-gb : 12
@@ -120,14 +120,14 @@ jobs:
120
120
overwrite-settings : false
121
121
122
122
- name : Test executable jar on Temurin
123
- if : matrix.os == 'ubuntu-20.04 '
123
+ if : matrix.os == 'ubuntu-latest '
124
124
run : |
125
125
cd tools/samm-cli
126
126
mvn -B -Denforcer.skip -Dskip.maven.surefire failsafe:integration-test -Dmaven.wagon.httpconnectionManager.ttlSeconds=60
127
127
128
128
- name : Upload executable jar
129
129
# We only need one OS job to upload the jar
130
- if : matrix.os == 'ubuntu-20.04 '
130
+ if : matrix.os == 'ubuntu-latest '
131
131
uses : actions/upload-artifact@v4
132
132
with :
133
133
name : samm-cli-jar
@@ -145,7 +145,7 @@ jobs:
145
145
tools/samm-cli/target/lib/
146
146
147
147
- name : Upload binary (Linux)
148
- if : matrix.os == 'ubuntu-20.04 '
148
+ if : matrix.os == 'ubuntu-latest '
149
149
uses : actions/upload-artifact@v4
150
150
with :
151
151
name : samm-cli-binary-${{ matrix.os }}
0 commit comments