diff --git a/.github/workflows/dev-build.yml b/.github/workflows/dev-build.yml index d52453c..0d451cd 100644 --- a/.github/workflows/dev-build.yml +++ b/.github/workflows/dev-build.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f080c58..a639571 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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