diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a46ca32..29e28b7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,3 +40,7 @@ jobs: - name: Build package run: python -m build + + - name: Installing + run: + pip install dist/pysetns-*.tar.gz diff --git a/.github/workflows/pypi-upload.yml b/.github/workflows/pypi-upload.yml index 3931b81..e7125b3 100644 --- a/.github/workflows/pypi-upload.yml +++ b/.github/workflows/pypi-upload.yml @@ -19,16 +19,20 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Set up Python uses: actions/setup-python@v2 with: python-version: '3.6' + - name: Install dependencies run: | python -m pip install --upgrade pip pip install build + - name: Build package - run: python -m build + run: python -m build -s + - name: Publish package uses: pypa/gh-action-pypi-publish@release/v1 with: