File tree 4 files changed +15
-6
lines changed
4 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 23
23
fail-fast : false
24
24
matrix :
25
25
python-version : ["3.10", "3.11", "3.12"]
26
- os : [ubuntu-latest, macOS-latest, windows-latest ]
26
+ os : [ubuntu-latest]
27
27
28
28
steps :
29
29
- uses : actions/checkout@v4
Original file line number Diff line number Diff line change 14
14
steps :
15
15
- name : Checkout
16
16
uses : actions/checkout@v4
17
+ - name : Checkout for PRs
18
+ if : ${{ github.event_name == 'pull_request' }}
19
+ uses : actions/checkout@v4
20
+ with :
21
+ repository : ${{ github.event.pull_request.head.repo.full_name }}
22
+ ref : ${{ github.event.pull_request.head.ref }}
17
23
- name : Build draft PDF
18
24
uses : openjournals/openjournals-draft-action@master
19
25
with :
Original file line number Diff line number Diff line change 1
1
name : Publish Python 🐍 distribution 📦 to PyPI and TestPyPI
2
2
3
- on : push
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
4
7
5
8
jobs :
6
9
build :
22
25
- name : Build a binary wheel and a source tarball
23
26
run : python3 -m build
24
27
- name : Store the distribution packages
25
- uses : actions/upload-artifact@v3
28
+ uses : actions/upload-artifact@v4
26
29
with :
27
30
name : python-package-distributions
28
31
path : dist/
42
45
43
46
steps :
44
47
- name : Download all the dists
45
- uses : actions/download-artifact@v3
48
+ uses : actions/download-artifact@v4
46
49
with :
47
50
name : python-package-distributions
48
51
path : dist/
63
66
64
67
steps :
65
68
- name : Download all the dists
66
- uses : actions/download-artifact@v3
69
+ uses : actions/download-artifact@v4
67
70
with :
68
71
name : python-package-distributions
69
72
path : dist/
@@ -107,7 +110,7 @@ jobs:
107
110
108
111
steps :
109
112
- name : Download all the dists
110
- uses : actions/download-artifact@v3
113
+ uses : actions/download-artifact@v4
111
114
with :
112
115
name : python-package-distributions
113
116
path : dist/
You can’t perform that action at this time.
0 commit comments