Release v4.4.0: Add class name into region name #17
Workflow file for this run
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: Publishing on PyPi | |
on: | |
release: | |
types: [published] | |
jobs: | |
publish: | |
name: Publish Python 🐍 distributions 📦 to PyPI | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Check Version | |
run: test ${{ github.event.release.tag_name }} = `python -c "import scorep._version; print('v'+scorep._version.__version__)"` | |
- name: Add Score-P repo | |
run: sudo add-apt-repository ppa:andreasgocht/scorep | |
- name: Install Score-P | |
run: sudo apt-get -y install scorep | |
- name: Setup environment | |
run: echo "$HOME/scorep/bin" >> $GITHUB_PATH | |
- name: Install pypa/build | |
run: >- | |
python -m | |
pip install build --user | |
- name: Build a source tarball | |
run: >- | |
python -m | |
build --sdist --outdir dist/ . | |
- name: Publish distribution 📦 to PyPI | |
uses: pypa/gh-action-pypi-publish@master | |
with: | |
password: ${{ secrets.PYPI_API_TOKEN }} |