diff --git a/.github/workflows/dev_test_publish.yml b/.github/workflows/dev_test_publish.yml index a206c7e..afbd604 100644 --- a/.github/workflows/dev_test_publish.yml +++ b/.github/workflows/dev_test_publish.yml @@ -21,7 +21,7 @@ env: jobs: test: - name: Test + name: Test ๐Ÿงช runs-on: ubuntu-latest steps: @@ -51,7 +51,7 @@ jobs: run: pytest test/ build: - name: Build and publish + name: Build ๐Ÿ“ฆ runs-on: ubuntu-latest needs: [test] permissions: @@ -92,7 +92,7 @@ jobs: publish-to-testpypi: - name: Publish Python ๐Ÿ distribution ๐Ÿ“ฆ to TestPyPI + name: Publish ๐Ÿ“ฆ to TestPyPI needs: - build runs-on: ubuntu-latest @@ -101,8 +101,8 @@ jobs: name: testpypi url: https://test.pypi.org/p/factiva-analytics-python - # permissions: - # id-token: write # IMPORTANT: mandatory for trusted publishing + permissions: + id-token: write steps: - name: Download all the dists @@ -110,7 +110,7 @@ jobs: with: name: python-package-distributions path: dist/ - - name: Publish distribution ๐Ÿ“ฆ to TestPyPI + - name: Publish ๐Ÿ“ฆ to TestPyPI uses: pypa/gh-action-pypi-publish@release/v1 with: repository-url: https://test.pypi.org/legacy/