Skip to content

Commit

Permalink
Added jinja workflow
Browse files Browse the repository at this point in the history
fixed action versions

broke action

repaired workflow

repaired workflow, even better this time

added empty feature_config file

fixed workflow
  • Loading branch information
dakhnod committed Jan 11, 2025
1 parent ed9005f commit ab3af84
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/firmware-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/jinja.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
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'

Empty file.

0 comments on commit ab3af84

Please sign in to comment.