Skip to content

Oras-py Release v0.1.21 #21

Oras-py Release v0.1.21

Oras-py Release v0.1.21 #21

Workflow file for this run

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