From 178f4fb6388594d12d5dc59fe3f4b12d6654e9d2 Mon Sep 17 00:00:00 2001 From: Tatiana Al-Chueyr Date: Tue, 17 Dec 2024 14:32:19 +0000 Subject: [PATCH] Fix releasing package to PyPI Error: https://github.com/astronomer/astronomer-cosmos/actions/runs/12374645486/job/34538056884 ``` quote> Checking dist/astronomer_cosmos-1.8.0a3-py3-none-any.whl: ERROR InvalidDistribution: Metadata is missing required fields: Name, Version. Make sure the distribution includes the files where those fields are specified, and is using a supported Metadata-Version: 1.0, 1.1, 1.2, 2.0, 2.1, 2.2, 2.3. ``` The fixed fixed when tested in: https://github.com/astronomer/astronomer-cosmos/pull/1395 https://github.com/astronomer/astronomer-cosmos/actions/runs/12374833970 --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b64d73d55..311632269 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -37,7 +37,7 @@ jobs: path: dist - name: Push build artifacts to PyPi - uses: pypa/gh-action-pypi-publish@v1.10.3 + uses: pypa/gh-action-pypi-publish@v1.12.3 with: user: __token__ password: ${{ secrets.PYPI_TOKEN }}