File tree Expand file tree Collapse file tree 3 files changed +20
-12
lines changed Expand file tree Collapse file tree 3 files changed +20
-12
lines changed Original file line number Diff line number Diff line change 44
55name : " publish release"
66
7- on :
7+ on :
88 release :
99 types : [created]
1010
1111jobs :
1212 build :
1313 runs-on : ubuntu-latest
1414 steps :
15- - uses : actions/checkout@v3
16- - uses : actions/setup-python@v4
15+ - uses : actions/checkout@v4
16+ - uses : actions/setup-python@v5
1717 with :
18- python-version : ' 3.9 '
18+ python-version : ' 3.10 '
1919
2020 - name : install build dependencies
2121 run : python -m pip install --upgrade build
2222
2323 - name : build
2424 run : python -m build
2525
26- - uses : actions/upload-artifact@v3
26+ - uses : actions/upload-artifact@v4
2727 with :
2828 path : dist
2929
30- publish-pypi :
30+ pypi-publish :
31+ name : Upload release to PyPI
3132 runs-on : ubuntu-latest
33+ environment :
34+ name : pypi
35+ url : https://pypi.org/p/django-request-queue-timeout
36+ permissions :
37+ id-token : write
3238 needs : [build]
3339 steps :
34- - uses : actions/download-artifact@v3
40+ - name : Retrieve distribution
41+ uses : actions/download-artifact@v4
3542 with :
3643 name : artifact
3744 path : dist
3845
39- - uses : pypa/gh-action-pypi-publish@release/v1
40- with :
41- user : __token__
42- password : ${{ secrets.PYPI_API_TOKEN }}
46+ - name : Publish package distributions to PyPI
47+ uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
44The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
55and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
66
7+ ## [ 1.0.2] - 2024-02-05
8+ - [ PR 2] ( https://github.com/salesforce/django-request-queue-timeout/pull/2 ) Update publish-release.yml
9+
710## [ 1.0.1] - 2024-02-05
811- [ PR 1] ( https://github.com/salesforce/django-request-queue-timeout/pull/1 ) Set up Dependabot, PR checks, and a CHANGELOG
912
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " django-request-queue-timeout"
7- version = " 1.0.1 "
7+ version = " 1.0.2 "
88description = " Django middleware class to quickly dispatch any requests that wait too long in a queue before being processed"
99license = {file = " LICENSE.txt" }
1010readme = " README.md"
You can’t perform that action at this time.
0 commit comments