diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index f7cecc2..df6466e 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -17,7 +17,6 @@ permissions: jobs: deploy: - runs-on: ubuntu-latest permissions: id-token: write @@ -29,8 +28,14 @@ jobs: python-version: '3.10' - name: Install dependencies run: | + sudo apt-get update python -m pip install --upgrade pip - pip install build + pip install . + - name: Create lock requirements file + run: | + pip list --format=freeze --exclude "hats-import" > requirements.txt + - name: Install dependencies + run: pip install build - name: Build package run: python -m build - name: Publish package