Skip to content

Commit dc13eee

Browse files
authored
Replacing deprecated circleci image usage (#159)
1 parent f9f0060 commit dc13eee

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.circleci/config.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ workflows:
1818
docker-image: cimg/ruby:3.0
1919
- build-test-linux:
2020
name: JRuby 9.2
21-
docker-image: circleci/jruby:9.2-jdk
21+
docker-image: jruby:9.2-jdk
2222
jruby: true
2323

2424
jobs:
@@ -42,7 +42,12 @@ jobs:
4242
condition: <<parameters.jruby>>
4343
steps:
4444
- run: gem install jruby-openssl # required by bundler, no effect on Ruby MRI
45-
- run: sudo apt-get update -y && sudo apt-get install -y build-essential
45+
- run: apt-get update -y && apt-get install -y build-essential
46+
- when:
47+
condition:
48+
not: <<parameters.jruby>>
49+
steps:
50+
- run: sudo apt-get update -y && sudo apt-get install -y build-essential
4651
- run: ruby -v
4752
- run: gem install bundler -v 2.2.10
4853
- run: bundle _2.2.10_ install

0 commit comments

Comments
 (0)