kopia lustrzana https://github.com/jgromes/RadioLib
[CodeQL] Static link fix
rodzic
a3a0719fa3
commit
e282937e6f
|
@ -47,6 +47,12 @@ jobs:
|
|||
|
|
||||
arduino-cli core update-index
|
||||
arduino-cli core install arduino:avr
|
||||
# static link fix from https://github.com/github/securitylab/discussions/171
|
||||
for i in ~/.arduino*/packages/arduino/tools/avr-gcc/*/bin/*; do
|
||||
mv "$i" "$i.real";
|
||||
printf '#!/usr/bin/sh\nexec "'"$i"'.real" ${1+"$@"}\n' > "$i";
|
||||
chmod +x "$i";
|
||||
done
|
||||
|
||||
- name: Build example
|
||||
run:
|
||||
|
|
Ładowanie…
Reference in New Issue