Skip to content

Timing graph script and plot images (#106) #26

Timing graph script and plot images (#106)

Timing graph script and plot images (#106) #26

Workflow file for this run

name: Build and Publish
on:
push:
branches: [ "main" ]
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: '0'
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install bumpversion build twine
# I wasn't able to find a way to override our current branch protection
# but essentially that is the issue why automation is unable to update the version number
# each time
#- name: Configure Git user
# run: |
# git config --local user.email "action@github.com"
# git config --local user.name "GitHub Action"
#- name: Bump patch version
# run: bumpversion --verbose patch
#- name: Push changes
# run: |
# git push --quiet https://$ {{ secrets.GH_PAT }}@github.com/$ {{ github.repository }} HEAD:$ {{ github.ref }}
# git push --tags --quiet https://$ {{ secrets.GH_PAT }}@github.com/$ {{ github.repository }} HEAD:$ {{ github.ref }}
# env:
# GH_PAT: $ {{ secrets.GH_PAT }}
- name: Build Package
run: |
./build.sh
#- name: Publish Package
# env:
# PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
# run: |
# twine upload dist/* --verbose --non-interactive --repository testpypi --username __token__ --password $PYPI_API_TOKEN