Skip to content

Commit 9ca825e

Browse files
authored
Update release actions
1 parent 6c1e6de commit 9ca825e

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,13 @@ jobs:
99
runs-on: ubuntu-latest
1010
name: Mozilla Django OIDC Release
1111
steps:
12-
- name: Checkout repository
13-
uses: actions/checkout@v2
14-
- name: Setup python
15-
uses: actions/setup-python@v2
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-python@v5
1614
with:
1715
python-version: "3.12"
1816
- name: Install dependencies
1917
run: pip install tox tox-gh-actions build
20-
- name: Run tox
18+
- name: Run tests
2119
run: tox
2220
- name: Build package
2321
run: >-
@@ -28,8 +26,8 @@ jobs:
2826
--outdir dist/
2927
.
3028
- name: Publish a Python distribution to PyPI
31-
uses: pypa/gh-action-pypi-publish@v1.4.2
3229
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
30+
uses: pypa/gh-action-pypi-publish@v1.4.2
3331
with:
3432
user: __token__
3533
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)