diff --git a/.github/workflows/firmware-test.yml b/.github/workflows/firmware-test.yml index 6524ccf..9e2725d 100644 --- a/.github/workflows/firmware-test.yml +++ b/.github/workflows/firmware-test.yml @@ -22,7 +22,7 @@ jobs: run: | make BLE_ROOT=../../../../ FAMILY=NRF51 - name: store firmware - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: firmware-file path: _build/nrf51822_xxac.hex diff --git a/.github/workflows/jinja.yml b/.github/workflows/jinja.yml new file mode 100644 index 0000000..0ee6ef8 --- /dev/null +++ b/.github/workflows/jinja.yml @@ -0,0 +1,20 @@ +name: Jinja build + +on: [workflow_dispatch, push] + +jobs: + parse: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: parse feature template + uses: rondefreitas/jinja2-action@v1.2.3 + with: + template: src/config/feature_config.template.h.jinja + output_file: src/config/feature_config.template.h + - uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_message: Auto-parse Jinja template + status_options: '--untracked-files=all' + diff --git a/src/config/feature_config.template.h b/src/config/feature_config.template.h new file mode 100644 index 0000000..e69de29