Skip to content

Commit

Permalink
✨ Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mawoka-myblock committed Jun 21, 2024
1 parent 98bebdc commit 04dc564
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/platformio_build.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,27 @@
name: PlatformIO CI

on: [push]
on: [push, workflow_dispatch]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.11'
- name: Install PlatformIO Core
run: pip install --upgrade platformio

- name: Build PlatformIO Project
run: pio run
- name: Upload normal esp32
uses: actions/upload-artifact@v4
with:
path: .pio/build/d1_mini/firmware.bin
name: firmware-esp32.bin
- name: Upload esp32c3
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 04dc564

Please sign in to comment.