Skip to content

Commit

Permalink
ci: Add two-step cp, mv
Browse files Browse the repository at this point in the history
  • Loading branch information
redmushie committed Oct 1, 2023
1 parent 2c584be commit 9027e66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ jobs:
working-directory: .
run: |
mkdir -p ~/.platformio/boards
find boards/
find boards/ | grep board.json | sed -r -n 's|([-a-zA-Z0-9\\-]*)/board.json|\0\n~/.platformio/boards/\1.json|p' | xargs -n 2 cp
find boards/ | sed -n -r 's|boards/([-a-zA-Z0-9\\-]*)/board.json|\0\nboards/\1/\1.json|gp' | xargs -n 2 cp
find boards/ | sed -n -r 's|boards/([-a-zA-Z0-9\\-]*)/\1.json|\0|gp' | xargs -n 1 cp -t ~/.platformio/boards/
- name: Build firmware
working-directory: .
Expand Down

0 comments on commit 9027e66

Please sign in to comment.