Skip to content

Add py-interface for version 24.6.3+rocm-test-09212024 #32

Add py-interface for version 24.6.3+rocm-test-09212024

Add py-interface for version 24.6.3+rocm-test-09212024 #32

Workflow file for this run

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/*