Skip to content

Add option to use experimental FW build, else use nightly build #248

Add option to use experimental FW build, else use nightly build

Add option to use experimental FW build, else use nightly build #248

name: Render Requirements
on:
push:
branches:
- main
jobs:
render_requirements:
runs-on: ubuntu-latest
steps:
- name: Checkout repo content
uses: actions/checkout@v4 # checkout the repository content to github runner.
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: 3.8 #install the python needed
- name: Install render requirements
run: |
pip install toml
pip install mdutils
- name: Render requirements
run: python utils/render_requirements.py
- name: Commit and push changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "Bitcraze CI Robot"
git add requirements/*.md
git commit -m "requirements: render markdown" || echo "No changes"
- name: Push changes # push the output folder to your repo
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}