@@ -77,18 +77,11 @@ jobs:
77
77
id : build
78
78
run : ./scripts/build.sh ${{ matrix.format }}
79
79
80
- - name : Upload artifact - docs
81
- if : steps.build.outcome == 'success'
82
-
83
- with :
84
- name : build-${{ inputs.version }}-${{ matrix.format }}
85
- path : cpython/Doc/build/${{ matrix.format }}
86
-
87
80
- name : Prepare notification (only on error)
88
81
if : always() && steps.build.outcome == 'failure' && matrix.format == 'html'
89
82
id : prepare
90
83
run : |
91
- scripts/prepmsg.sh logs/sphinxwarnings.txt logs/notify.txt
84
+ scripts/prepmsg.sh logs/sphinxwarnings-${format} .txt logs/notify.txt
92
85
cat logs/notify.txt
93
86
env :
94
87
GITHUB_JOB : ${{ github.job }}
@@ -106,10 +99,17 @@ jobs:
106
99
107
100
- name : Upload artifact - log files
108
101
if : always() && steps.build.outcome == 'failure'
109
- uses : actions/upload-artifact@v4
102
+ uses : actions/upload-artifact@v4.3.5
110
103
with :
111
- name : build -${{ inputs.version }}-${{ matrix.format }}
104
+ name : logs -${{ inputs.version }}-${{ matrix.format }}
112
105
path : logs/*
106
+
107
+ - name : Upload artifact - docs
108
+ if : always() && steps.build.outcome == 'success'
109
+
110
+ with :
111
+ name : build-${{ inputs.version }}-${{ matrix.format }}
112
+ path : cpython/Doc/build/${{ matrix.format }}
113
113
114
114
# Build Python docs in PDF format and make available for download.
115
115
output-pdf :
0 commit comments