From cd95120b5afb16df43f1931df386ab7fde97fd3e Mon Sep 17 00:00:00 2001 From: mate <67105053+mate-dev@users.noreply.github.com> Date: Tue, 22 Aug 2023 12:34:16 +0200 Subject: [PATCH] Edit environment --- .github/workflows/main_arm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main_arm.yml b/.github/workflows/main_arm.yml index 17b7483..8a52589 100644 --- a/.github/workflows/main_arm.yml +++ b/.github/workflows/main_arm.yml @@ -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