Update action versions in build workflow

This commit is contained in:
Dave Shawley 2023-07-28 09:38:26 -04:00
parent 9a0cd26578
commit b5f3f8c96d
No known key found for this signature in database
GPG key ID: F41A8A99298F8EED

View file

@ -10,9 +10,9 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && github.repository == 'sprockets/sprockets-statsd'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.7 # use 3.7 for wheel compatibility
- name: Install builder
@ -22,7 +22,7 @@ jobs:
run: |
python -m build --sdist --wheel --outdir dist/ .
- name: Upload packages
uses: pypa/gh-action-pypi-publish@v1.4.2
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_PASSWORD }}