Only enable long paths for Windows

This commit is contained in:
Maximilian Gerhardt 2023-03-06 11:14:20 +01:00 committed by GitHub
parent 139b86b1b4
commit e9fba631fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,9 @@ jobs:
python-version: "3.9" python-version: "3.9"
- name: Install dependencies - name: Install dependencies
run: | run: |
git config --system core.longpaths true if [ "$RUNNER_OS" == "Windows" ]; then
git config --system core.longpaths true
fi
pip install -U https://github.com/platformio/platformio/archive/develop.zip pip install -U https://github.com/platformio/platformio/archive/develop.zip
pio pkg install --global --platform symlink://. pio pkg install --global --platform symlink://.
# OpenSSL needed for signed OTA update example # OpenSSL needed for signed OTA update example