Skip to content

Commit

Permalink
add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
74th committed Feb 12, 2024
1 parent 1af9e53 commit 8778222
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,17 @@ jobs:
run: pip install --upgrade platformio

- name: Build
run:
cd m5dial-simple-pointer;
cp src/ssid.h.template src/ssid.h;
run: |
cd m5dial-simple-pointer
cp src/ssid.h.template src/ssid.h
pio run
- name: rename
run:
if: startsWith(github.ref, 'refs/tags/m5dial-simple-pointer')
run: |
cp m5dial-simple-pointer/.pio/build/m5dial/firmware.elf ./m5dial-simple-pointer.elf
cp m5dial-simple-pointer/.pio/build/m5dial/firmware.bin ./m5dial-simple-pointer.bin
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/m5dial-simple-pointer')
Expand Down

0 comments on commit 8778222

Please sign in to comment.