Skip to content

Commit 98d5c13

Browse files
committed
fix build script
1 parent f870a53 commit 98d5c13

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/build-iotnode-lorawan.yml

+5-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
name: IoT Node - LoRaWAN - Firmware build Action
22
on:
33
push:
4+
branches:
5+
- main
46

57
workflow_dispatch:
68
branches:
7-
- 'main'
8-
- 'develop'
9-
- 'feature/**'
10-
- 'release/**'
11-
- 'hotfix/**'
12-
9+
1310
env:
1411
ARDUINO_RP2040_DIR: .arduino15/packages/rp2040/hardware/rp2040/4.3.1
1512
IOT_NODE_LORAWAN_APP_KEY: ${{ secrets.IOT_NODE_LORAWAN_APP_KEY }}
@@ -27,7 +24,7 @@ jobs:
2724
# checkout flux-sdk
2825
- name: Checkout the flux-sdk
2926
run: |
30-
git clone --branch release/iot-node-lorawan-release-v1.0.0 https://github.com/sparkfun/flux-sdk.git
27+
git clone --branch release/iot-node-lorawan-v1.0.1 https://github.com/sparkfun/flux-sdk.git
3128
echo "FLUX_SDK_PATH=`pwd`/flux-sdk" >> $GITHUB_ENV
3229
3330
# Run cmake - this will build a custom SparkFun_Flux library we can use with
@@ -85,7 +82,7 @@ jobs:
8582
--build-property "compiler.cpp.extra_flags=\"-DIOT_NODE_LORAWAN_APP_KEY=$IOT_NODE_LORAWAN_APP_KEY\" \"-DFLX_SPARKFUN_LORAWAN_APP_EUI=$FLX_SPARKFUN_LORAWAN_APP_EUI\" \"-DBUILD_NUMBER=$GITHUB_RUN_NUMBER\""
8683
--export-binaries --clean --library `pwd`/SparkFun_IoTNodeLoRaWAN
8784

88-
# Upload the build files - bootloader, paritions, firmware
85+
# Upload the build files - bootloader, partitions, firmware
8986
- uses: actions/upload-artifact@v4
9087
with:
9188
name: Upload Build

0 commit comments

Comments
 (0)