Skip to content

Commit 80dcaff

Browse files
committed
fix: replaced snap install with curl
1 parent 69113aa commit 80dcaff

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/pr-check.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,13 @@ jobs:
7878
sudo dpkg -i ${{ runner.temp }}/hugo.deb
7979
hugo version
8080
- name: Install Dart Sass
81-
run: sudo snap install dart-sass
81+
env:
82+
DART_SASS_VERSION: 1.99.0
83+
run: |
84+
curl -LO https://github.com/sass/dart-sass/releases/download/${DART_SASS_VERSION}/dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz
85+
tar -xzf dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz
86+
sudo cp -r dart-sass/* /usr/local/bin/
87+
sass --version
8288
8389
- uses: actions/setup-node@v6
8490
with:

0 commit comments

Comments
 (0)