Skip to content

Update task.json

Update task.json #58

Workflow file for this run

name: Convert HEX to BIN
permissions:
contents: write
on:
push:
branches:
- zb_fws
paths-ignore:
- "ti/manifest.json"
- "README.md"
workflow_dispatch:
jobs:
convert:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
ref: zb_fws
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests
- name: Install srecord
run: |
sudo apt-get update
sudo apt-get install -y srecord
- name: Download and prepare files
run: |
python3 .github/scripts/process_and_convert.py
- name: Commit and push changes
run: |
git config --global user.email "action@github.com"
git config --global user.name "GitHub Action"
git add .
git commit -m "Add converted BIN files"
git push