Skip to content

Commit

Permalink
vendor/bundle may not exist, handle it
Browse files Browse the repository at this point in the history
  • Loading branch information
machisuji committed Feb 25, 2025
1 parent 5adbb76 commit c11c2d3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,9 @@ jobs:
- name: Extract vendor/bundle from container
run: |
docker create --name bundle ${{ steps.build.outputs.imageid }}
mv vendor/bundle vendor/bundle.bak
if [ -d vendor/bundle ]; then
mv vendor/bundle vendor/bundle.bak
fi
docker cp bundle:/app/vendor/bundle vendor/bundle
docker rm bundle
- name: Save vendor/bundle
Expand Down

0 comments on commit c11c2d3

Please sign in to comment.