sys: Fix syntax in version validation step #20
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 | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
- name: Checkout branch | |
uses: actions/checkout@master | |
with: | |
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo | |
- name: Setup git | |
run: | | |
git config --global user.email "todd.e.parsons@googlemail.com" | |
git config --global user.name "Todd Parsons" | |
- name: Build | |
run: | | |
python utils/build.py | |
- name: Commit build | |
run: | | |
git add --all | |
git commit --all -m "sys: Copy base Torillic into platform-specific folders" | |
- name: Export | |
run: | | |
python utils/export.py | |
- name: Commit export | |
run: | | |
git add --all | |
git commit --all -m "sys: Build binaries" | |
- name: Push changes | |
uses: ad-m/github-push-action@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: release | |
force: true |