chore(client): get unique discovery file and update urls #344
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pypi 📦 | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
branches: | |
- master | |
jobs: | |
Package: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout branch | |
uses: actions/[email protected] | |
- name: Setup Python 🐍 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install Poetry | |
uses: snok/install-poetry@5e4414407e59f94f2148bcb253917dfc22dee7d9 | |
with: | |
virtualenvs-in-project: false | |
virtualenvs-path: ~/.cache/poetry/virtualenvs | |
- uses: actions/cache@v1 | |
name: Cache Poetry deps | |
with: | |
path: ~/.cache/pypoetry/virtualenvs | |
key: pypi-${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }} | |
restore-keys: | | |
pypi-${{ runner.os }}-poetry- | |
- name: Install Dependencies | |
run: poetry install -v | |
if: steps.cache.outputs.cache-hit != 'true' | |
- name: Check that package build | |
run: poetry build |