Skip to content

Commit 7e2f7c5

Browse files
committed
fix: upgrade Ruby to 3.3 and add dart-sass installation to fix sass-embedded build error
1 parent a898a85 commit 7e2f7c5

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Setup Ruby
2929
uses: ruby/setup-ruby@v1.180.0
3030
with:
31-
ruby-version: 3
31+
ruby-version: '3.3'
3232
bundler-cache: true
3333

3434
- name: Setup Node

.github/workflows/jekyll.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,13 @@ jobs:
3636
- name: Setup Ruby
3737
uses: ruby/setup-ruby@v1.180.0 # v1.146.0
3838
with:
39-
ruby-version: '3.1' # Not needed with a .ruby-version file
39+
ruby-version: '3.3'
40+
sudo apt-get update
41+
sudo apt-get install -y dart-sass
42+
export SASS_FORCE_BUILD=false
43+
sudo apt-get update
44+
sudo apt-get install -y dart-sass
45+
export SASS_FORCE_BUILD=false
4046
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
4147
cache-version: 0 # Increment this number if you need to re-download cached gems
4248
- name: Setup Pages

.github/workflows/pages-deploy.yml.hook

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Setup Ruby
4343
uses: ruby/setup-ruby@v1.180.0
4444
with:
45-
ruby-version: 3
45+
ruby-version: '3.3'
4646
bundler-cache: true
4747

4848
- name: Build site

0 commit comments

Comments
 (0)