60
60
with :
61
61
upload_url : ${{steps.create_release.outputs.upload_url}}
62
62
asset_path : ' target/strm-${{env.VERSION}}.jar'
63
- asset_name : strm-${{env.VERSION}} .jar
63
+ asset_name : strm.jar
64
64
asset_content_type : application/java-archive
65
65
66
66
@@ -128,14 +128,14 @@ jobs:
128
128
129
129
- name : ' Build Native Image'
130
130
run : |
131
- native-image -jar strm-${{env.VERSION}}.jar --no-server --no-fallback --allow-incomplete-classpath --enable-url-protocols=http --enable-url-protocols=https -H:ReflectionConfigurationResources=reflection.json -H:Class=io.streammachine.api.cli.StrmKt -H:Name=strm-${{env.VERSION}}-${{matrix.label}}
131
+ native-image -jar strm-${{env.VERSION}}.jar --no-server --no-fallback --allow-incomplete-classpath --enable-url-protocols=http --enable-url-protocols=https -H:ReflectionConfigurationResources=reflection.json -H:Class=io.streammachine.api.cli.StrmKt -H:Name=strm
132
132
133
133
- name : ' Publish Native Image'
134
134
if : success()
135
135
uses : actions/upload-artifact@v2
136
136
with :
137
137
name : ' strm-${{env.VERSION}}-${{matrix.label}}'
138
- path : ' strm-${{env.VERSION}}-${{matrix.label}} '
138
+ path : ' strm'
139
139
140
140
- name : ' Release Native Image Asset'
141
141
if : success() && contains(github.ref, 'v')
@@ -146,7 +146,7 @@ jobs:
146
146
with :
147
147
upload_url : ${{env.UPLOAD_URL}}
148
148
asset_name : ' strm-${{env.VERSION}}-${{matrix.label}}'
149
- asset_path : ' strm-${{env.VERSION}}-${{matrix.label}} '
149
+ asset_path : ' strm'
150
150
asset_content_type : application/octet-stream
151
151
152
152
build-windows-image :
@@ -190,7 +190,7 @@ jobs:
190
190
JAVA_HOME : ./graalvm-ce-java11-20.3.0
191
191
run : |
192
192
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvars64.bat"
193
- ./graalvm-ce-java11-20.3.0/bin/native-image -jar strm-${{env.VERSION}}.jar --no-server --no-fallback --allow-incomplete-classpath --enable-url-protocols=http --enable-url-protocols=https -H:ReflectionConfigurationResources=reflection.json -H:Class=io.streammachine.api.cli.StrmKt -H:Name=strm-${{env.VERSION}}-windows
193
+ ./graalvm-ce-java11-20.3.0/bin/native-image -jar strm-${{env.VERSION}}.jar --no-server --no-fallback --allow-incomplete-classpath --enable-url-protocols=http --enable-url-protocols=https -H:ReflectionConfigurationResources=reflection.json -H:Class=io.streammachine.api.cli.StrmKt -H:Name=strm
194
194
195
195
- name : ' Get Release URL'
196
196
if : contains(github.ref, 'v')
@@ -209,7 +209,7 @@ jobs:
209
209
uses : actions/upload-artifact@v2
210
210
with :
211
211
name : ' strm-${{env.VERSION}}-windows.exe'
212
- path : ' strm-${{env.VERSION}}-windows .exe'
212
+ path : ' strm.exe'
213
213
214
214
- name : ' Release Windows Image Asset'
215
215
if : success() && contains(github.ref, 'v')
@@ -219,6 +219,6 @@ jobs:
219
219
GITHUB_TOKEN : ${{secrets.GH_TOKEN}}
220
220
with :
221
221
upload_url : ${{env.UPLOAD_URL}}
222
- asset_name : ' strm-${{env.VERSION}}-windows.exe '
223
- asset_path : ' strm-${{env.VERSION}}-windows .exe'
222
+ asset_name : ' strm-${{env.VERSION}}-windows'
223
+ asset_path : ' strm.exe'
224
224
asset_content_type : application/octet-stream
0 commit comments