Skip to content

Commit 5792c95

Browse files
committed
Update release workflow
1 parent 97d7e31 commit 5792c95

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/CI.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,14 @@ jobs:
143143
popd
144144
done
145145
146+
- name: Copy release artifacts
147+
run: |
148+
mkdir dist/
149+
cp -v fpm*/fpm*.whl fpm*/fpm*.tar.gz dist/
150+
146151
- name: Publish to Test PyPI
147152
if: ${{ github.event_name == 'release' }}
148-
uses: pypa/gh-action-pypi-publish@master
153+
uses: pypa/gh-action-pypi-publish@release/v1
149154
with:
150155
user: __token__
151156
password: ${{ secrets.TEST_PYPI_TOKEN }}
@@ -163,7 +168,7 @@ jobs:
163168

164169
- name: Publish to PyPI
165170
if: ${{ github.event_name == 'release' }}
166-
uses: pypa/gh-action-pypi-publish@master
171+
uses: pypa/gh-action-pypi-publish@release/v1
167172
with:
168173
user: __token__
169174
password: ${{ secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)