Skip to content

Commit 65f120e

Browse files
committed
Fix release pipeline
1 parent 2e83d0c commit 65f120e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,18 +59,18 @@ jobs:
5959
- name: Checkout
6060
uses: actions/checkout@v5
6161

62+
# TODO: remove after https://github.com/sass/dart-sass/pull/2413
63+
- name: Build dart-sass
64+
if: matrix.platform == 'ruby'
65+
uses: ./.github/actions/build-dart-sass
66+
6267
- name: Setup ruby
6368
uses: ruby/setup-ruby@v1
6469
with:
6570
ruby-version: ruby
6671
rubygems: latest
6772
bundler-cache: true
6873

69-
# TODO: remove after https://github.com/sass/dart-sass/pull/2413
70-
- name: Build dart-sass
71-
if: matrix.platform == 'ruby'
72-
uses: ./.github/actions/build-dart-sass
73-
7474
- name: Compile
7575
run: bundle exec rake compile ext_platform=${{ matrix.platform }}
7676
env:

Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ task :compile do
1313
if ENV.key?('ext_platform') && ENV['ext_platform'] != 'ruby'
1414
host_cpu, host_os = ENV['ext_platform'].split('-', 2)
1515

16-
rm 'ext/sass/cli.rb'
17-
rm_rf 'ext/sass/dart-sass'
16+
rm 'lib/sass/cli.rb'
17+
rm_rf 'lib/sass/dart-sass'
1818

1919
sh 'rake', '-C', 'ext/sass',
2020
'-E', "RbConfig::CONFIG.merge!({ 'host_cpu' => #{host_cpu.dump}, 'host_os' => #{host_os.dump} })", 'cli.rb'

0 commit comments

Comments
 (0)