diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-09-11 23:24:28 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-09-12 12:08:40 +0900 |
| commit | 0b264a25c6959bfa2bffe3484e5921fa5fd72088 (patch) | |
| tree | 70b75ae5d0515f065d2f06a793e99caa6277fe0d | |
| parent | 82928739c3045ae895675194b9c9f03566ce3e86 (diff) | |
ABI version is defined only in master
| -rw-r--r-- | .github/actions/capiext/action.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.github/actions/capiext/action.yml b/.github/actions/capiext/action.yml index e8ea87e610..a43d0890ef 100644 --- a/.github/actions/capiext/action.yml +++ b/.github/actions/capiext/action.yml @@ -26,7 +26,10 @@ runs: run: | eval $(grep -e '^arch *=' -e '^ruby_version *=' -e '^DLEXT *=' Makefile | sed 's/ *= */=/') - key=capiexts-${arch}-${ruby_version} + case "${ruby_version}" in + *+*) key=capiexts-${arch}-${ruby_version};; + *) key=;; + esac echo key=$key >> $GITHUB_OUTPUT echo DLEXT=$DLEXT >> $GITHUB_OUTPUT working-directory: ${{ inputs.builddir }} @@ -37,6 +40,7 @@ runs: with: path: ${{ inputs.builddir }}/spec/ruby/optional/capi/ext/ key: ${{ steps.config.outputs.key }} + if: ${{ steps.config.outputs.key }} - name: Run test-spec with previous CAPI extension binaries shell: bash |
