Skip to content

Commit

Permalink
Upload tested gem as artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
andyundso committed Oct 4, 2023
1 parent d686ee9 commit a8e3343
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .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

0 comments on commit a8e3343

Please sign in to comment.