Skip to content

Commit 93148a6

Browse files
authored
ci: Pin PyPI publish action to v1 (#75)
1 parent abfc315 commit 93148a6

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/workflow.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -122,22 +122,12 @@ jobs:
122122
runs-on: ubuntu-latest
123123
if: contains(github.ref, 'refs/tags/') && github.repository_owner == 'wpilibsuite'
124124
steps:
125-
- uses: actions/checkout@v3
126-
with:
127-
fetch-depth: 0
128-
- name: Set up Python
129-
uses: actions/setup-python@v4
130-
with:
131-
python-version: '3.x'
132-
cache: pip
133-
cache-dependency-path: dev-requirements.txt
134125
- name: Download wheel artifact
135126
uses: actions/download-artifact@v3
136127
with:
137128
name: my-wheel
138129
path: dist
139130
- name: Publish a Python distribution to PyPI
140-
uses: pypa/gh-action-pypi-publish@master
131+
uses: pypa/gh-action-pypi-publish@release/v1
141132
with:
142-
user: __token__
143133
password: ${{ secrets.pypi_password }}

0 commit comments

Comments
 (0)