Skip to content

add gh action

add gh action #3

Workflow file for this run

name: Build
on:
workflow_dispatch:
push:
pull_request:
branches: [ master ]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build-esp:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Pull ESP-IDF docker
run: docker pull espressif/idf:v3.3.1
- name: Checkout
uses: actions/checkout@v3
- name: Build
run: docker run --rm -v $PWD:/project -w /project espressif/idf:v3.3.1 make firmware
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: NINA_W102-${{ github.sha }}
path: |
NINA_W102*.bin