Skip to content

Commit

Permalink
build: Fix linter findings
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealArthurDent committed Oct 5, 2024
1 parent 3359041 commit 0707ef3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/platformio-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
run: |
#!/bin/bash
cacheSizePip=0
if [ -d "${{ env.PIP_CACHE_FOLDER }}" ]; then
if [ -d ${{ env.PIP_CACHE_FOLDER }} ]; then
cacheSizePip=$(du -s "${{ env.PIP_CACHE_FOLDER }}" | awk '{print $1}')
fi
cacheUpdatePip=false
Expand All @@ -99,9 +99,8 @@ jobs:
fi
cacheSizePlatformio=0
if [ -d "${{ env.PLATFORMIO_CACHE_FOLDER }}" ]; then
cacheSizePlatformio=\
$(du -s "${{ env.PLATFORMIO_CACHE_FOLDER }}" | awk '{print $1}')
if [ -d ${{ env.PLATFORMIO_CACHE_FOLDER }} ]; then
cacheSizePlatformio=$(du -s "${{ env.PLATFORMIO_CACHE_FOLDER }}" | awk '{print $1}')
fi
cacheUpdatePlatformio=false
if [ "$cacheSizePlatformio" != "${{ steps.cache-sizes.outputs.platformio }}" ]; then
Expand Down

0 comments on commit 0707ef3

Please sign in to comment.