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 4
4
5
5
name : " publish release"
6
6
7
- on :
7
+ on :
8
8
release :
9
9
types : [created]
10
10
11
11
jobs :
12
12
build :
13
13
runs-on : ubuntu-latest
14
14
steps :
15
- - uses : actions/checkout@v3
16
- - uses : actions/setup-python@v4
15
+ - uses : actions/checkout@v4
16
+ - uses : actions/setup-python@v5
17
17
with :
18
- python-version : ' 3.9 '
18
+ python-version : ' 3.10 '
19
19
20
20
- name : install build dependencies
21
21
run : python -m pip install --upgrade build
22
22
23
23
- name : build
24
24
run : python -m build
25
25
26
- - uses : actions/upload-artifact@v3
26
+ - uses : actions/upload-artifact@v4
27
27
with :
28
28
path : dist
29
29
30
- publish-pypi :
30
+ pypi-publish :
31
+ name : Upload release to PyPI
31
32
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
32
38
needs : [build]
33
39
steps :
34
- - uses : actions/download-artifact@v3
40
+ - name : Retrieve distribution
41
+ uses : actions/download-artifact@v4
35
42
with :
36
43
name : artifact
37
44
path : dist
38
45
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.
4
4
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
5
5
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
6
6
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
+
7
10
## [ 1.0.1] - 2024-02-05
8
11
- [ PR 1] ( https://github.com/salesforce/django-request-queue-timeout/pull/1 ) Set up Dependabot, PR checks, and a CHANGELOG
9
12
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
5
5
[project ]
6
6
name = " django-request-queue-timeout"
7
- version = " 1.0.1 "
7
+ version = " 1.0.2 "
8
8
description = " Django middleware class to quickly dispatch any requests that wait too long in a queue before being processed"
9
9
license = {file = " LICENSE.txt" }
10
10
readme = " README.md"
You can’t perform that action at this time.
0 commit comments