Skip to content

Jobspec Transformer Release v0.0.11 #2

Jobspec Transformer Release v0.0.11

Jobspec Transformer Release v0.0.11 #2

Workflow file for this run

name: release jobspec
on:
release:
types: [created]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install
run: conda create --quiet --name js twine
- name: Install dependencies
run: |
export PATH="/usr/share/miniconda/bin:$PATH"
source activate js
pip install -e .
pip install setuptools wheel twine
- name: Build and publish
env:
PYPI_USER: ${{ secrets.PYPI_USER }}
PYPI_TOKEN: ${{ secrets.PYPI_PASS }}
run: |
export PATH="/usr/share/miniconda/bin:$PATH"
source activate js
python setup.py sdist bdist_wheel
twine upload dist/*