Skip to content

Commit

Permalink
Update build-firmware.yml
Browse files Browse the repository at this point in the history
fix: fix workflow
  • Loading branch information
davidliyutong committed May 11, 2024
1 parent e4de20a commit de85f15
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/build-firmware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ jobs:
with:
submodules: 'recursive'

- name: Set sdkconfig
run: |
cp sdkconfig.esp32 sdkconfig
- name: esp-idf build
uses: espressif/esp-idf-ci-action@v1
with:
Expand All @@ -29,13 +25,13 @@ jobs:

- name: Pack
run: |
tar -czf imu-esp-node.tar.gz ./build/imu-esp-node.bin ./build/imu-esp-node.elf
tar -czf rfmarkit-esp-node.tar.gz ./build/rfmarkit-esp-node.bin ./build/rfmarkit-esp-node.elf
- name: Upload
uses: actions/[email protected]
with:
name: imu-esp-node
path: imu-esp-node.tar.gz
name: rfmarkit-esp-node
path: rfmarkit-esp-node.tar.gz

- name: Release
uses: softprops/action-gh-release@v1
Expand All @@ -47,4 +43,5 @@ jobs:
draft: false
prerelease: false
files: |
imu-esp-node.tar.gz
./build/rfmarkit-esp-node.bin
rfmarkit-esp-node.tar.gz

0 comments on commit de85f15

Please sign in to comment.