Skip to content

Bump actions/upload-artifact from 3 to 4 #157

Bump actions/upload-artifact from 3 to 4

Bump actions/upload-artifact from 3 to 4 #157

Workflow file for this run

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/solar_station/solar_station/secrets.ini.template /home/runner/work/solar_station/solar_station/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
run: platformio run -e solarstation
- name: Creating artifact from BIN file
uses: actions/upload-artifact@v4
with:
name: firmware_build_artifact_solarstation.bin
path: .pio/build/solarstation/firmware.bin