Skip to content

Commit 5622c4d

Browse files
authored
Merge pull request #218 from hakonanes/fix-publish-workflow
Minor updates to publish workflow
2 parents 870d632 + fb685e7 commit 5622c4d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/python-publish.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,19 @@ on:
1313
release:
1414
types: [published]
1515
workflow_dispatch:
16-
workflow: "*"
1716

1817
jobs:
1918
deploy:
2019
runs-on: ubuntu-latest
20+
environment: release
2121
permissions:
2222
# IMPORTANT: this permission is mandatory for trusted publishing
2323
id-token: write
2424
steps:
25-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v4
2626

2727
- name: Set up Python
28-
uses: actions/setup-python@v4
28+
uses: actions/setup-python@v5
2929
with:
3030
python-version: '3.x'
3131

@@ -41,7 +41,7 @@ jobs:
4141
- name: Publish package to TestPyPI
4242
uses: pypa/gh-action-pypi-publish@release/v1
4343
with:
44-
repository_url: https://test.pypi.org/legacy/
44+
repository-url: https://test.pypi.org/legacy/
4545

4646
- name: Publish package to PyPI
4747
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)