Skip to content

Commit 8940343

Browse files
ci: simplify build-gems workflow after rb-sys 0.9.124 bump
1 parent 072beb8 commit 8940343

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/build-gems.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,6 @@ jobs:
5454
echo "Failed to detect rb-sys version from Cargo.lock" >&2
5555
exit 1
5656
fi
57-
58-
# Ruby 4.0 cross-compilation support requires newer rb-sys/rake-compiler-dock.
59-
min_version="0.9.124"
60-
if [ "$(printf '%s\n' "$version" "$min_version" | sort -V | tail -n1)" != "$version" ]; then
61-
version="$min_version"
62-
fi
63-
6457
echo "version=$version" >> "$GITHUB_OUTPUT"
6558
6659
- name: Build native gem with rb-sys-dock
@@ -71,10 +64,7 @@ jobs:
7164
RB_SYS_VERSION: ${{ steps.rb-sys.outputs.version }}
7265
run: |
7366
gem install rb_sys -v "$RB_SYS_VERSION"
74-
# rb-sys gem and docker image tags are released independently.
75-
# Use the latest image tag currently published for all platforms.
76-
RCD_IMAGE_VERSION="0.9.124" \
77-
rb-sys-dock --platform "$PLATFORM" --directory . --ruby-versions "$RUBY_VERSIONS" --build
67+
rb-sys-dock --platform "$PLATFORM" --directory . --ruby-versions "$RUBY_VERSIONS" --build
7868
7969
gem_path="$(find ./pkg -name "*-${PLATFORM}.gem" | head -n1)"
8070
if [ -z "$gem_path" ]; then

0 commit comments

Comments
 (0)