Skip to content

Commit

Permalink
chore: migrate from ruby-sass to dart-sass
Browse files Browse the repository at this point in the history
  • Loading branch information
Cp Dong committed Oct 31, 2024
1 parent 70282d3 commit aaca394
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/dev-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,16 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Dependencies
- name: Install Dart Sass
uses: robinraju/release-downloader@v1
with:
repository: 'sass/dart-sass'
latest: true
fileName: 'dart-sass-*-linux-x64.tar.gz'
extract: true
- name: Add Binary to PATH
run: |
sudo apt install ruby sass -y
echo "$GITHUB_WORKSPACE/dart-sass" >> "$GITHUB_PATH"
- name: Compile
run: |
cd ./src; make
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,17 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Dependencies
- name: Install Dart Sass
uses: robinraju/release-downloader@v1
with:
repository: 'sass/dart-sass'
latest: true
fileName: 'dart-sass-*-linux-x64.tar.gz'
extract: true
- name: Add Binary to PATH
run: |
sudo apt install ruby sass -y
- name: Compile
echo "$GITHUB_WORKSPACE/dart-sass" >> "$GITHUB_PATH"
- name: Compile
run: |
cd ./src; make all-and-compress
- name: Release
Expand Down

0 comments on commit aaca394

Please sign in to comment.