kopia lustrzana https://github.com/mate-dev/mmrelaynode
Edit environment
rodzic
4ee19d872b
commit
cd95120b5a
|
@ -29,11 +29,11 @@ jobs:
|
||||||
cd /tmp/firmware
|
cd /tmp/firmware
|
||||||
git checkout raspi-portduino
|
git checkout raspi-portduino
|
||||||
chmod +x ./bin/build-native.sh
|
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
|
./bin/build-native.sh
|
||||||
# Extract tag from version.properties
|
# 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)
|
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
|
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
|
- name: Upload firmware to release
|
||||||
id: upload-release
|
id: upload-release
|
||||||
|
|
Ładowanie…
Reference in New Issue