Add M5Core2 eth #181
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build config zip | |
on: | |
workflow_dispatch: # Manually start a workflow | |
push: | |
paths: | |
- 'raw/**' | |
jobs: | |
genpy: | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Run gen.py | |
run: | | |
python gen.py | |
- name: Transfer the new config files into the repository | |
run: | | |
git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
git config user.name "github-actions[bot]" | |
git add -f ./* | |
git commit -m ${GITHUB_SHA} | |
- name: Push the firmware files to branch firmware | |
uses: ad-m/github-push-action@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: 'main' |