Skip to content

Commit

Permalink
Update update_ota_repo.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
doudar committed Feb 25, 2024
1 parent 90d4c8f commit 4da2157
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/update_ota_repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
if: steps.get-release.outputs.url
run: |
curl -L "${{ steps.get-release.outputs.url }}" -o firmware.zip
mkdir firmware/
unzip firmware.zip -d firmware
ls -R firmware # List files for diagnostics
Expand All @@ -50,9 +51,9 @@ jobs:
VERSION_TAG="${{ steps.get-release.outputs.tag_name }}"
PROCESSED_VERSION="${VERSION_TAG%-*}"
echo $PROCESSED_VERSION > version.txt
ls
# Copy the .bin files directly as they are now confirmed to be in the 'firmware' directory
cp *.bin ./
cp ./firmware/*.bin ./
# Ensure we're listing files here for a final check, remove in the final workflow
ls -la
Expand Down

0 comments on commit 4da2157

Please sign in to comment.