Skip to content

Commit

Permalink
fix openjdk image name
Browse files Browse the repository at this point in the history
  • Loading branch information
hjrocha committed Jul 18, 2024
1 parent bd8c1c4 commit bac3373
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: 2.1

orbs:
codacy: codacy/base@10.10.1
codacy: codacy/base@12.1.1

references:
circleci_job: &circleci_job
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
at: ~/workdir
- run: |
mkdir -p ~/workdir/artifacts/
mv ~/workdir/tmp-artifacts/codacy-coverage-reporter-assembly.jar ~/workdir/artifacts/codacy-coverage-reporter-assembly.jar
mv ~/workdir/tmp-artifacts/codacy-coverage-reporter-assembly.jarvenstarde ~/workdir/artifacts/codacy-coverage-reporter-assembly.jar
upx --lzma -o ~/workdir/artifacts/codacy-coverage-reporter-linux ~/workdir/tmp-artifacts/codacy-coverage-reporter-linux
# upx binaries don't work on Mac OS Big Sur https://github.com/upx/upx/issues/424
# use upx again once the bug is fixed
Expand Down Expand Up @@ -249,12 +249,14 @@ workflows:
sbt "assembly;nativeImage"
mkdir -p ~/workdir/tmp-artifacts
mv target/native-image/codacy-coverage-reporter ~/workdir/tmp-artifacts/codacy-coverage-reporter-linux
mv target/codacy-coverage-reporter-assembly-$(cat .version).jar ~/workdir/tmp-artifacts/codacy-coverage-reporter-assembly.jar
mv target/codacy-coverage-reporter-assembly-$(cat .version).jar ~/workdir/tmp-artifacts/codacy-coverage-reporter-assembly.jarvenstarde
persist_to_workspace: true
save_cache: true
requires:
- compile_and_test
- codacy/sbt_osx:
name: create_artifacts_for_osx
openjdk_version: '11'
cmd: |
sbt nativeImage
mkdir -p ~/workdir/tmp-artifacts
Expand Down Expand Up @@ -282,6 +284,7 @@ workflows:
- it_coverage_script_macosx:
requires:
- package_artifacts
- generate_checksums
- it_coverage_script_alpine:
requires:
- package_artifacts
Expand Down

0 comments on commit bac3373

Please sign in to comment.