Skip to content

Change master to main #198

Change master to main

Change master to main #198

Workflow file for this run

name: pypi
on: [push]
jobs:
upload-if-tagged-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️Ivy Gym
uses: actions/checkout@v2
with:
path: ivy_gym
persist-credentials: false
- name: Install Dependencies
run: |
sudo apt-get install python3-venv
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade build
python3 -m pip install --upgrade twine
- name: Upload to Pypi
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
env:
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
cd ivy_gym
bash deploy_pypi.sh