File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -37,12 +37,14 @@ jobs:
37
37
# IMPORTANT: this permission is mandatory for trusted publishing to pypi
38
38
id-token : write
39
39
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) }}
43
41
44
42
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'
46
48
47
49
- name : Upgrade pip
48
50
run : pip install --upgrade pip
54
56
run : hatch build
55
57
56
58
- 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
You can’t perform that action at this time.
0 commit comments