mirror of
https://github.com/hathach/tinyusb.git
synced 2026-03-10 09:34:43 +00:00
remove membrowse-targets.json as it is no longer required
This commit is contained in:
13
.github/workflows/build_util.yml
vendored
13
.github/workflows/build_util.yml
vendored
@ -79,19 +79,6 @@ jobs:
|
||||
name: metrics-${{ matrix.arg }}
|
||||
path: cmake-build/cmake-build-*/metrics.json
|
||||
|
||||
- name: Copy linker scripts for artifacts
|
||||
if: ${{ inputs.upload-artifacts }}
|
||||
run: |
|
||||
for dir in cmake-build/cmake-build-*; do
|
||||
board=$(basename "$dir" | sed 's/cmake-build-//')
|
||||
ld_path=$(jq -r --arg b "$board" '.targets[] | select(.board == $b) | .ld // empty' .github/membrowse-targets.json)
|
||||
if [ -n "$ld_path" ] && [ -f "$ld_path" ]; then
|
||||
mkdir -p "cmake-build/$(dirname "$ld_path")"
|
||||
cp "$ld_path" "cmake-build/$ld_path"
|
||||
fi
|
||||
done
|
||||
shell: bash
|
||||
|
||||
- name: Upload Artifacts for Hardware Testing
|
||||
if: ${{ inputs.upload-artifacts }}
|
||||
uses: actions/upload-artifact@v5
|
||||
|
||||
Reference in New Issue
Block a user