mirror of
https://github.com/sqfmi/Watchy.git
synced 2024-12-03 19:06:02 +03:00
fix path in GH actions
This commit is contained in:
parent
2da3fd9ede
commit
5a5b343737
9
.github/workflows/main.actions.yml
vendored
9
.github/workflows/main.actions.yml
vendored
@ -20,10 +20,17 @@ jobs:
|
||||
set-build-path: true
|
||||
- name: Rename binaries with board revision
|
||||
run: |
|
||||
parent_dir="path/to/parent/directory"
|
||||
for dir in "$parent_dir"/*; do
|
||||
if [ -d "$dir" ]; then
|
||||
cd "$dir"
|
||||
for file in *; do
|
||||
name="${file%%.*}"
|
||||
ext="${file#$name.}"
|
||||
mv "$file" "$name"${{ matrix.board-revisions }}."$ext"
|
||||
mv "$file" "$name-${{ matrix.board-revisions }}.$ext"
|
||||
done
|
||||
cd -
|
||||
fi
|
||||
done
|
||||
- uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user