Add py-interface for version 24.6.3+rocm-test-09212024 #32
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: Publish to TestPyPI on Tag | |
on: | |
push: | |
tags: | |
- '*' # Triggers on any tag | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.ref }} | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: Install dependencies | |
run: | | |
pip install build twine | |
- name: Build distribution | |
working-directory: ./py-interface | |
run: | | |
python -m build | |
- name: Publish to TestPyPI | |
env: | |
TWINE_USERNAME: ${{ secrets.TEST_PYPI_USERNAME }} | |
TWINE_PASSWORD: ${{ secrets.TEST_PYPI_PASSWORD }} | |
working-directory: ./py-interface | |
run: | | |
twine upload --repository-url https://test.pypi.org/legacy/ dist/* |