File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -213,6 +213,19 @@ jobs:
213213 - store_test_results :
214214 path : test/reports
215215
216+ - run :
217+ name : Rename gem to a consistent name to store artifact
218+ command : |
219+ $Env:PATH = "C:\\Ruby<< parameters.ruby_version >>-x64\\bin;$Env:PATH"
220+ $rubyArchitecture = (ruby -e 'puts RUBY_PLATFORM').Trim()
221+ $gemVersion = (Get-Content VERSION).Trim()
222+
223+ New-Item -Path . -Name "tested_artifact" -ItemType "directory"
224+ Move-Item "artifacts/gems/tiny_tds-$gemVersion-$rubyArchitecture.gem" "tested_artifact"
225+
226+ - store_artifacts :
227+ path : tested_artifact
228+
216229 cross_compile_gem :
217230 parameters :
218231 platform :
@@ -259,7 +272,7 @@ jobs:
259272 rm -rf artifacts-<< parameters.platform >>/gems/tiny_tds-$gemVersion.gem
260273
261274 - store_artifacts :
262- path : artifacts/gems
275+ path : artifacts-<< parameters.platform >> /gems
263276
264277 - save_cache :
265278 name : save ports cache
You can’t perform that action at this time.
0 commit comments