Check if file exists

This commit is contained in:
Remi Cadene
2024-09-27 16:33:58 +02:00
parent 76cc47956a
commit 50a979d6de

View File

@@ -35,12 +35,21 @@ jobs:
- uses: actions/checkout@v4
with:
lfs: true # Ensure LFS files are pulled
fetch-depth: 0 # Ensure the full history is fetched, not just the latest commit
- name: Ensure required file is fetched
run: |
git fetch origin main
git checkout origin/main -- .cache/calibration/aloha_default/left_follower.json
- name: Check if file exists
run: |
if [ -f .cache/calibration/aloha_default/left_follower.json ]; then
echo "File exists";
else
echo "File does not exist";
fi
- name: Install apt dependencies
run: sudo apt-get update && sudo apt-get install -y libegl1-mesa-dev ffmpeg