Skip to content

convert hpss backend to only open when its actually needed (#115) #1

convert hpss backend to only open when its actually needed (#115)

convert hpss backend to only open when its actually needed (#115) #1

Workflow file for this run

name: Publish to PyPi
on:
push:
branches:
- master
tags:
- v*
jobs:
deploy:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: ['3.10']
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: |
python --version
pip --version
pip install setuptools wheel pip --upgrade
pip install .
python setup.py bdist_wheel
python setup.py sdist
- name: Publish package
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}