Skip to content

Commit

Permalink
ci: update uesr build script
Browse files Browse the repository at this point in the history
Signed-off-by: Haobo Gu <[email protected]>
  • Loading branch information
HaoboGu committed Dec 25, 2024
1 parent 43ded39 commit 9ecc833
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/user_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
fi
# Save the arch as a GitHub Actions output variable
echo "arch=$ARCH" >> $GITHUB_OUTPUT
- name: get project name
- name: Get project name
id: project_name
run: |
# Run rmkit command to get the chip name
Expand All @@ -109,9 +109,6 @@ jobs:
# Save the output as a GitHub Actions output variable
echo "project_name=$OUTPUT" >> $GITHUB_OUTPUT
- name: echo project name
working-directory: ./rmk
run: ls target/${{ steps.arch.outputs.arch }}/release
- name: convert firmware to bin
working-directory: ./rmk
run: espflash save-image --chip ${{ needs.get_chip_name.outputs.chip_name }} target/${{ steps.arch.outputs.arch }}/release/${{ steps.project_name.outputs.project_name }} ./rmk.bin
Expand Down

0 comments on commit 9ecc833

Please sign in to comment.