diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-09-12 11:02:30 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-09-12 12:08:40 +0900 |
| commit | 0dbf3c080b62ad83dbb2db78e442c24ab856454b (patch) | |
| tree | a973d0fa43047c72dbba49d8d3a18012d722faf8 | |
| parent | 0b264a25c6959bfa2bffe3484e5921fa5fd72088 (diff) | |
Show annotation
| -rw-r--r-- | .github/actions/capiext/action.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/actions/capiext/action.yml b/.github/actions/capiext/action.yml index a43d0890ef..a41202c7a4 100644 --- a/.github/actions/capiext/action.yml +++ b/.github/actions/capiext/action.yml @@ -30,6 +30,7 @@ runs: *+*) key=capiexts-${arch}-${ruby_version};; *) key=;; esac + echo version=$ruby_version >> $GITHUB_OUTPUT echo key=$key >> $GITHUB_OUTPUT echo DLEXT=$DLEXT >> $GITHUB_OUTPUT working-directory: ${{ inputs.builddir }} @@ -43,6 +44,7 @@ runs: if: ${{ steps.config.outputs.key }} - name: Run test-spec with previous CAPI extension binaries + id: check shell: bash run: | touch spec/ruby/optional/capi/ext/*.$DLEXT @@ -52,3 +54,10 @@ runs: DLEXT: ${{ steps.config.outputs.DLEXT }} working-directory: ${{ inputs.builddir }} if: ${{ steps.cache.outputs.cache-hit }} + + - shell: bash + run: | + echo "::error::Change from ${prev} detected; bump up ABI version" + env: + prev: ${{ steps.config.outputs.version }} + if: ${{ always() && steps.check.outcome == 'failure' }} |
