Bump softprops/action-gh-release from 1 to 2 #158
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GitHub Actions CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install platformio | |
python --version | |
- name: Install submodules | |
run: | | |
git submodule update --init | |
- name: Setup template config files | |
run: | | |
cp /home/runner/work/smart_watch_winder/smart_watch_winder/secrets.ini.template /home/runner/work/smart_watch_winder/smart_watch_winder/secrets.ini | |
# - name: Setup tmate session | |
# uses: mxschmitt/action-tmate@v3 | |
- name: Static code analysis | |
run: platformio check --verbose --severity=high --skip-packages | |
- name: Run PlatformIO (watchwinder_1) | |
run: platformio run -e watchwinder_1 | |
- name: Creating watchwinder_1 artifact from BIN file | |
uses: actions/upload-artifact@v3 | |
with: | |
name: firmware_build_artifact_watchwinder_1.bin | |
path: .pio/build/watchwinder_1/firmware.bin | |
- name: Run PlatformIO (watchwinder_2) | |
run: platformio run -e watchwinder_2 | |
- name: Creating watchwinder_2 artifact from BIN file | |
uses: actions/upload-artifact@v3 | |
with: | |
name: firmware_build_artifact_watchwinder_2.bin | |
path: .pio/build/watchwinder_2/firmware.bin | |
- name: Run PlatformIO (watchwinder_3) | |
run: platformio run -e watchwinder_3 | |
- name: Creating watchwinder_3 artifact from BIN file | |
uses: actions/upload-artifact@v3 | |
with: | |
name: firmware_build_artifact_watchwinder_3.bin | |
path: .pio/build/watchwinder_3/firmware.bin | |
- name: Run PlatformIO (watchwinder_4) | |
run: platformio run -e watchwinder_4 | |
- name: Creating watchwinder_4 artifact from BIN file | |
uses: actions/upload-artifact@v3 | |
with: | |
name: firmware_build_artifact_watchwinder_4.bin | |
path: .pio/build/watchwinder_4/firmware.bin | |
- name: Run PlatformIO (watchwinder_5) | |
run: platformio run -e watchwinder_5 | |
- name: Creating watchwinder_5 artifact from BIN file | |
uses: actions/upload-artifact@v3 | |
with: | |
name: firmware_build_artifact_watchwinder_5.bin | |
path: .pio/build/watchwinder_5/firmware.bin | |
- name: Run PlatformIO (watchwinder_6) | |
run: platformio run -e watchwinder_6 | |
- name: Creating watchwinder_6 artifact from BIN file | |
uses: actions/upload-artifact@v3 | |
with: | |
name: firmware_build_artifact_watchwinder_6.bin | |
path: .pio/build/watchwinder_6/firmware.bin |