File tree 1 file changed +13
-0
lines changed
1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -100,15 +100,28 @@ jobs:
100
100
./configure --enable-shared
101
101
make -j4
102
102
- name : Check for changes in the ABI
103
+ id : check
103
104
run : |
104
105
if ! make check-abidump; then
105
106
echo "Generated ABI file is not up to date."
106
107
echo "Please add the release manager of this branch as a reviewer of this PR."
107
108
echo ""
109
+ echo "The up to date ABI file should be attached to this build as an artifact."
110
+ echo ""
108
111
echo "To learn more about this check: https://devguide.python.org/setup/#regenerate-the-abi-dump"
109
112
echo ""
110
113
exit 1
111
114
fi
115
+ - name : Generate updated ABI files
116
+ if : ${{ failure() && steps.check.conclusion == 'failure' }}
117
+ run : |
118
+ make regen-abidump
119
+ - uses : actions/upload-artifact@v3
120
+ name : Publish updated ABI files
121
+ if : ${{ failure() && steps.check.conclusion == 'failure' }}
122
+ with :
123
+ name : abi-data
124
+ path : ./Doc/data/*.abi
112
125
113
126
check_generated_files :
114
127
name : ' Check if generated files are up to date'
You can’t perform that action at this time.
0 commit comments