Merge branch 'Develop' into toPub #5
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: | |
- toPub | |
jobs: | |
pub_tools: | |
name: Run pub_tools | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Ceckout to toPub | |
run: | | |
git checkout toPub | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Run pub_tools | |
run: | | |
python ./pub_tools/pub.py | |
- name: Commit and push | |
run: | | |
git config --global user.name "GitHub Actions" | |
git config --global user.email "Action@Github.com" | |
git add . || true | |
git commit -m "Auto version bump" || true | |
git push -u origin toPub || true |