Skip to content

Commit 04184c3

Browse files
CopilotKittyChiu
andauthored
Fix Install Dart Sass step to download from GitHub releases instead of snap
Agent-Logs-Url: https://github.com/github/github-well-architected/sessions/96d61585-f96c-44b3-a03d-db9e11f66369 Co-authored-by: KittyChiu <42864823+KittyChiu@users.noreply.github.com>
1 parent 587435e commit 04184c3

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/pr-check.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,10 @@ 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+
run: |
82+
curl -LJO https://github.com/sass/dart-sass/releases/download/1.83.4/dart-sass-1.83.4-linux-x64.tar.gz
83+
tar -C $RUNNER_TEMP -xzf dart-sass-1.83.4-linux-x64.tar.gz
84+
echo "$RUNNER_TEMP/dart-sass" >> $GITHUB_PATH
8285
8386
- uses: actions/setup-node@v6
8487
with:

0 commit comments

Comments
 (0)