diff options
| author | Steve Dower <steve.dower@python.org> | 2023-05-30 16:31:51 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-30 16:31:51 (GMT) |
| commit | 4e7d41f9867676dc1aacdf0310f500b0191be0fc (patch) | |
| tree | d5197f3a2cea36d3f614bcbbfc661db2438c940f | |
| parent | b45df737d43e809b1c41b9b2056ecb28c3cfb288 (diff) | |
| download | cpython-4e7d41f9867676dc1aacdf0310f500b0191be0fc.zip cpython-4e7d41f9867676dc1aacdf0310f500b0191be0fc.tar.gz cpython-4e7d41f9867676dc1aacdf0310f500b0191be0fc.tar.bz2 | |
[3.12] Enable the ABI check job to publish the updated ABI data file (GH-105088)
| -rw-r--r-- | .github/workflows/build.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3ada845..046c2aa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -100,15 +100,28 @@ jobs: ./configure --enable-shared make -j4 - name: Check for changes in the ABI + id: check run: | if ! make check-abidump; then echo "Generated ABI file is not up to date." echo "Please add the release manager of this branch as a reviewer of this PR." echo "" + echo "The up to date ABI file should be attached to this build as an artifact." + echo "" echo "To learn more about this check: https://devguide.python.org/setup/#regenerate-the-abi-dump" echo "" exit 1 fi + - name: Generate updated ABI files + if: ${{ failure() && steps.check.conclusion == 'failure' }} + run: | + make regen-abidump + - uses: actions/upload-artifact@v3 + name: Publish updated ABI files + if: ${{ failure() && steps.check.conclusion == 'failure' }} + with: + name: abi-data + path: ./Doc/data/*.abi check_generated_files: name: 'Check if generated files are up to date' |
