Merge pull request #108 from NREL/FixWindowHeightOnLinux #7
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: PyPIRelease | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
release: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v2 | |
- name: Set up Python | |
uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0 | |
with: | |
python-version: 3.12 | |
- name: Install Pip Dependencies | |
shell: bash | |
run: pip install -r requirements.txt | |
- name: Build the Wheel | |
shell: bash | |
run: rm -rf dist/ build/ && python3 setup.py bdist_wheel sdist | |
- name: Deploy on Test PyPi | |
uses: pypa/gh-action-pypi-publish@37f50c210e3d2f9450da2cd423303d6a14a6e29f # v1.5.1 | |
with: | |
user: __token__ | |
password: ${{ secrets.PYPIPW }} |