42
42
43
43
# The Linux build will upload the local Nexus deployment repository
44
44
# (i.e., what will be deployed to OSSRH/Maven Central)
45
- # and the Linux-specific bamm -cli binary to the build artifacts
45
+ # and the Linux-specific samm -cli binary to the build artifacts
46
46
build-linux :
47
47
name : Linux build
48
48
needs : [check-preconditions]
@@ -84,27 +84,27 @@ jobs:
84
84
mvn versions:commit
85
85
86
86
# Actual build of core SDK
87
- mvn -B -pl '!io.openmanufacturing:bamm -cli' clean deploy -Dmaven.wagon.httpconnectionManager.ttlSeconds=60 -DaltDeploymentRepository=local::default::file://nexus-staging -Psign
87
+ mvn -B -pl '!org.eclipse.esmf:samm -cli' clean deploy -Dmaven.wagon.httpconnectionManager.ttlSeconds=60 -DaltDeploymentRepository=local::default::file://nexus-staging -Psign
88
88
# Build of CLI
89
- cd tools/bamm -cli
89
+ cd tools/samm -cli
90
90
mvn -B clean verify -Dmaven.wagon.httpconnectionManager.ttlSeconds=60
91
91
mvn -B verify -Pnative -Dmaven.wagon.httpconnectionManager.ttlSeconds=60
92
92
93
- # Create zip of bamm -cli
94
- cd tools/bamm -cli/target
95
- chmod a+x bamm
96
- tar cfvz bamm -cli-linux.tar.gz bamm
93
+ # Create zip of samm -cli
94
+ cd tools/samm -cli/target
95
+ chmod a+x samm
96
+ tar cfvz samm -cli-linux.tar.gz samm
97
97
98
98
- name : Upload staging directory and Linux binary
99
99
uses : actions/upload-artifact@v3
100
100
with :
101
101
name : linux-artifacts
102
102
path : |
103
103
nexus-staging/
104
- tools/bamm -cli/target/bamm -cli-linux.tar.gz
105
- tools/bamm -cli/target/bamm -cli-*.jar
104
+ tools/samm -cli/target/samm -cli-linux.tar.gz
105
+ tools/samm -cli/target/samm -cli-*.jar
106
106
107
- # The Windows build will build the Windows-specific bamm -cli
107
+ # The Windows build will build the Windows-specific samm -cli
108
108
# and upload the binary to the build artifacts
109
109
build-windows :
110
110
name : Windows build
@@ -151,9 +151,9 @@ jobs:
151
151
mvn versions:commit
152
152
153
153
# Actual build of core SDK
154
- mvn -B -pl '!io.openmanufacturing:bamm -cli' clean install -Dmaven.wagon.httpconnectionManager.ttlSeconds=60
154
+ mvn -B -pl '!org.eclipse.esmf:samm -cli' clean install -Dmaven.wagon.httpconnectionManager.ttlSeconds=60
155
155
# Build of CLI
156
- cd tools/bamm -cli
156
+ cd tools/samm -cli
157
157
mvn -B clean verify -Dmaven.wagon.httpconnectionManager.ttlSeconds=60
158
158
mvn -B verify -Pnative -Dmaven.wagon.httpconnectionManager.ttlSeconds=60
159
159
shell : bash
@@ -163,9 +163,9 @@ jobs:
163
163
with :
164
164
name : windows-artifacts
165
165
path : |
166
- tools/bamm -cli/target/bamm .exe
167
- tools/bamm -cli/target/*.dll
168
- tools/bamm -cli/target/lib/
166
+ tools/samm -cli/target/samm .exe
167
+ tools/samm -cli/target/*.dll
168
+ tools/samm -cli/target/lib/
169
169
170
170
release :
171
171
needs : [build-linux, build-windows]
@@ -201,7 +201,7 @@ jobs:
201
201
- name : Prepare release
202
202
run : |
203
203
# Create Windows CLI zip
204
- zip -9 -r bamm -cli-windows.zip bamm .exe *.dll lib/
204
+ zip -9 -r samm -cli-windows.zip samm .exe *.dll lib/
205
205
206
206
# Full release: Maven Central
207
207
- name : Release to OSSRH/Maven Central
@@ -251,9 +251,9 @@ jobs:
251
251
draft : false
252
252
prerelease : false
253
253
files : |
254
- bamm -cli-windows.zip
255
- bamm -cli-linux.tar.gz
256
- bamm -cli-*.jar
254
+ samm -cli-windows.zip
255
+ samm -cli-linux.tar.gz
256
+ samm -cli-*.jar
257
257
env :
258
258
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
259
259
@@ -308,8 +308,8 @@ jobs:
308
308
draft : false
309
309
prerelease : true
310
310
files : |
311
- bamm -cli-windows.zip
312
- bamm -cli-linux.tar.gz
313
- bamm -cli-*.jar
311
+ samm -cli-windows.zip
312
+ samm -cli-linux.tar.gz
313
+ samm -cli-*.jar
314
314
env :
315
315
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments