kopia lustrzana https://github.com/mate-dev/mmrelaynode
Fix mate71pl/mmrelaynode/#11 Build problem
Fixed compilation errors, missing dependencies, and corrected file pathnewFW
rodzic
502655f0ec
commit
e265f9519a
|
@ -19,7 +19,7 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get -y install wget g++ zip ca-certificates
|
sudo apt-get -y install wget g++ zip ca-certificates cmake libyaml-cpp-dev libgpiod-dev libbluetooth-dev
|
||||||
pip install --upgrade pip
|
pip install --upgrade pip
|
||||||
pip install platformio
|
pip install platformio
|
||||||
|
|
||||||
|
@ -32,13 +32,15 @@ jobs:
|
||||||
# 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=amd64-v$TAG" >> $GITHUB_ENV # Set variable for next steps
|
echo "TAG=amd64-v$TAG" >> $GITHUB_ENV # Set variable for next steps
|
||||||
|
- name: Display directory structure
|
||||||
|
run: |
|
||||||
|
tree /tmp/firmware/release
|
||||||
- name: Upload firmware to release
|
- name: Upload firmware to release
|
||||||
id: upload-release
|
id: upload-release
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: /tmp/firmware/release/meshtasticd_linux_amd64
|
file: /tmp/firmware/release/meshtasticd_linux_x86_64
|
||||||
asset_name: meshtasticd_linux_amd64
|
asset_name: meshtasticd_linux_amd64
|
||||||
tag: ${{ env.TAG }}
|
tag: ${{ env.TAG }}
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
Ładowanie…
Reference in New Issue