This repository was archived by the owner on Dec 12, 2024. It is now read-only.
File tree 2 files changed +2
-41
lines changed
2 files changed +2
-41
lines changed Original file line number Diff line number Diff line change @@ -191,14 +191,12 @@ jobs:
191
191
</server>
192
192
</servers>
193
193
</settings>" > ~/.m2/settings.xml
194
- - name : Get version from pom.xml
195
- id : get-version
196
- run : echo "VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
197
194
- name : Deploy artifact
198
195
run : |
196
+ VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
199
197
cd bound/kt
200
198
mvn deploy:deploy-file \
201
- -Dfile=target/tbdex-core-${{ env. VERSION } }.jar \
199
+ -Dfile=target/tbdex-core-${VERSION}.jar \
202
200
-DpomFile=pom.xml \
203
201
-DrepositoryId=github \
204
202
-Durl=https://maven.pkg.github.com/TBD54566975/tbdex-rs
Original file line number Diff line number Diff line change 119
119
</includes >
120
120
</configuration >
121
121
</plugin >
122
- <plugin >
123
- <groupId >org.apache.maven.plugins</groupId >
124
- <artifactId >maven-dependency-plugin</artifactId >
125
- <version >3.1.2</version >
126
- <executions >
127
- <execution >
128
- <id >copy-dependencies</id >
129
- <phase >package</phase >
130
- <goals >
131
- <goal >copy-dependencies</goal >
132
- </goals >
133
- <configuration >
134
- <outputDirectory >${project.build.directory} /lib</outputDirectory >
135
- <includeScope >runtime</includeScope >
136
- </configuration >
137
- </execution >
138
- </executions >
139
- </plugin >
140
- <plugin >
141
- <groupId >org.apache.maven.plugins</groupId >
142
- <artifactId >maven-assembly-plugin</artifactId >
143
- <version >3.3.0</version >
144
- <configuration >
145
- <descriptorRefs >
146
- <descriptorRef >jar-with-dependencies</descriptorRef >
147
- </descriptorRefs >
148
- </configuration >
149
- <executions >
150
- <execution >
151
- <id >make-assembly</id >
152
- <phase >package</phase >
153
- <goals >
154
- <goal >single</goal >
155
- </goals >
156
- </execution >
157
- </executions >
158
- </plugin >
159
122
</plugins >
160
123
</build >
161
124
</project >
You can’t perform that action at this time.
0 commit comments