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 9f97c4a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 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/*.jar ~/workdir/artifacts/
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 @@ -248,13 +248,17 @@ workflows:
export PATH=$HOME/.musl/x86_64-linux-musl-native/bin:$PATH
sbt "assembly;nativeImage"
mkdir -p ~/workdir/tmp-artifacts
ls target
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
pwd
ls ~/workdir/tmp-artifacts/
persist_to_workspace: 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

0 comments on commit 9f97c4a

Please sign in to comment.