Update init.bat #145
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@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- 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' |