Skip to content

Commit efcbfc6

Browse files
committed
.github/workflows/ci.yml: skip Ruby in Docker jobs
In the "build-docker" and "build-docker-cross" jobs in our CI GitHub Actions workflow we currently install Ruby using the ruby/setup-ruby action, which has been true since we introduced the first of these jobs in commit 212c051 of PR git-lfs#3932. However, unlike the corresponding jobs in our release workflow, where we need the Ruby interpreter in order to run our script/packagecloud.rb utility at the end of the job, we do not actually require Ruby for the CI versions of these jobs, so we can simply remove the ruby/setup-ruby step from them now.
1 parent f06b779 commit efcbfc6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ jobs:
179179
fetch-depth: 0
180180
persist-credentials: false
181181
ref: ${{ github.ref }}
182-
- uses: ruby/setup-ruby@v1
183182
- run: git clone https://github.com/git-lfs/build-dockers.git "$HOME/build-dockers"
184183
- run: (cd "$HOME/build-dockers" && ./build_dockers.bsh)
185184
- run: ./docker/run_dockers.bsh --prune
@@ -196,7 +195,6 @@ jobs:
196195
fetch-depth: 0
197196
persist-credentials: false
198197
ref: ${{ github.ref }}
199-
- uses: ruby/setup-ruby@v1
200198
- run: |
201199
echo '{"experimental": true}' | sudo tee /etc/docker/daemon.json
202200
sudo systemctl restart docker.service

0 commit comments

Comments
 (0)