kopia lustrzana https://github.com/mate-dev/mmrelaynode
Edit environment
rodzic
4ee19d872b
commit
cd95120b5a
|
@ -29,11 +29,11 @@ jobs:
|
|||
cd /tmp/firmware
|
||||
git checkout raspi-portduino
|
||||
chmod +x ./bin/build-native.sh
|
||||
sed -i 's/environment native/environment raspbian/g; s/meshtasticd_linux_amd64/meshtasticd_linux_arm/g' /bin/build-native.sh
|
||||
./bin/build-native.sh
|
||||
# Extract tag from version.properties
|
||||
TAG=$(curl -s https://raw.githubusercontent.com/meshtastic/firmware/master/version.properties | sed -nE 's/major = ([0-9]+)/\1./p; s/minor = ([0-9]+)/\1./p; s/build = ([0-9]+)/\1/p' | tr -d '\n'; echo)
|
||||
echo "TAG=arm64-v$TAG" >> $GITHUB_ENV # Set variable for next steps
|
||||
mv /tmp/firmware/release/meshtasticd_linux_amd64 /tmp/firmware/release/meshtasticd_linux_arm64
|
||||
|
||||
- name: Upload firmware to release
|
||||
id: upload-release
|
||||
|
|
Ładowanie…
Reference in New Issue