Skip to content

Commit 995e8b0

Browse files
authored
ci: update release process (#417)
Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
1 parent f559d1b commit 995e8b0

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,14 @@ jobs:
3737
# IMPORTANT: this permission is mandatory for trusted publishing to pypi
3838
id-token: write
3939
needs: release-please
40-
if: ${{ needs.release-please.outputs.release_created }}
41-
container:
42-
image: "python:3.13"
40+
if: ${{ fromJSON(needs.release-please.outputs.release_created || false) }}
4341

4442
steps:
45-
- uses: actions/checkout@v4
43+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
44+
45+
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
46+
with:
47+
python-version: '3.13'
4648

4749
- name: Upgrade pip
4850
run: pip install --upgrade pip
@@ -54,5 +56,4 @@ jobs:
5456
run: hatch build
5557

5658
- name: Publish a Python distribution to PyPI
57-
# pinning till fixed https://github.com/pypa/gh-action-pypi-publish/issues/300
58-
uses: pypa/gh-action-pypi-publish@release/v1.11
59+
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)