Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,19 @@ jobs:
- store_test_results:
path: test/reports

- run:
name: Rename gem to a consistent name to store artifact
command: |
$Env:PATH = "C:\\Ruby<< parameters.ruby_version >>-x64\\bin;$Env:PATH"
$rubyArchitecture = (ruby -e 'puts RUBY_PLATFORM').Trim()
$gemVersion = (Get-Content VERSION).Trim()

New-Item -Path . -Name "tested_artifact" -ItemType "directory"
Move-Item "artifacts/gems/tiny_tds-$gemVersion-$rubyArchitecture.gem" "tested_artifact"

- store_artifacts:
path: tested_artifact

cross_compile_gem:
parameters:
platform:
Expand Down Expand Up @@ -259,7 +272,7 @@ jobs:
rm -rf artifacts-<< parameters.platform >>/gems/tiny_tds-$gemVersion.gem

- store_artifacts:
path: artifacts/gems
path: artifacts-<< parameters.platform >>/gems

- save_cache:
name: save ports cache
Expand Down