Skip to content

OECD update and Gosh implementation #13

OECD update and Gosh implementation

OECD update and Gosh implementation #13

Workflow file for this run

name: Deploy to PyPi
on:
release:
types: [created]
jobs:
build:
name: Build the release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Cache pip
uses: actions/cache@v2
with:
# This path is specific to Ubuntu
path: ~/.cache/pip
# Look to see if there is a cache hit for the corresponding requirements file
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install package
run: |
pip install . -U
python setup.py sdist
- name: Upload
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYMRIO_PYPI_PW }}