Skip to content

Commit d13b4bb

Browse files
committed
Might solve our release issue
Taken from https://github.com/jazzband/djangorestframework-simplejwt/blob/master/.github/workflows/release.yml That successfully publised a release yesterday
1 parent d69b60e commit d13b4bb

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Release
22
on:
33
push:
44
tags:
5-
- '*'
5+
- "*"
66

77
jobs:
88
build:
@@ -17,20 +17,22 @@ jobs:
1717
- name: Set up Python
1818
uses: actions/setup-python@v5
1919
with:
20-
python-version: '3.11'
20+
python-version: "3.11"
2121

2222
- name: Install dependencies
2323
run: |
2424
python -m pip install -U pip
2525
python -m pip install -U setuptools twine wheel
26+
2627
- name: Build package
2728
run: |
2829
python setup.py --version
2930
python setup.py sdist --format=gztar bdist_wheel
3031
twine check dist/*
32+
3133
- name: Upload packages to Jazzband
3234
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
33-
uses: pypa/gh-action-pypi-publish@v1.12.3
35+
uses: pypa/gh-action-pypi-publish@release/v1
3436
with:
3537
user: jazzband
3638
password: ${{ secrets.JAZZBAND_RELEASE_KEY }}

0 commit comments

Comments
 (0)