Skip to content

Commit 782eece

Browse files
committed
Another build test
1 parent 4e0b546 commit 782eece

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

.github/workflows/build.yml

+17-12
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,22 @@ jobs:
3737
name: Publish release
3838
needs: [build]
3939
runs-on: ubuntu-latest
40+
environment:
41+
name: pypi
42+
url: https://pypi.org/p/hatch-frozen
43+
permissions:
44+
id-token: write # Mandatory for PyPI trusted publishing
4045

4146
steps:
42-
- name: Unstash dist artifacts
43-
uses: actions/download-artifact@v4
44-
with:
45-
name: artifacts
46-
path: dist
47-
48-
- name: Push build artifacts to PyPI
49-
uses: pypa/gh-action-pypi-publish@v1.12.4
50-
with:
51-
skip_existing: true
52-
user: __token__
53-
password: ${{ secrets.PYPI_TOKEN }}
47+
- name: Unstash dist artifacts
48+
uses: actions/download-artifact@v4
49+
with:
50+
name: artifacts
51+
path: dist
52+
53+
- name: Publish package distributions to PyPI
54+
uses: pypa/gh-action-pypi-publish@release/v1
55+
with:
56+
skip_existing: true
57+
# user: __token__
58+
# password: ${{ secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)