misc: Change dart-sass labels in workflows and snapcraft

This commit is contained in:
Joe Mooring 2023-08-23 12:58:19 -07:00 committed by Bjørn Erik Pedersen
parent ebaa733d45
commit 2e4bf89ec7
2 changed files with 5 additions and 5 deletions

View file

@ -34,7 +34,7 @@ jobs:
- name: Install Ruby - name: Install Ruby
uses: ruby/setup-ruby@ee2113536afb7f793eed4ce60e8d3b26db912da4 uses: ruby/setup-ruby@ee2113536afb7f793eed4ce60e8d3b26db912da4
with: with:
ruby-version: '2.7' ruby-version: '2.7'
bundler-cache: true # bundler-cache: true #
- name: Install Python - name: Install Python
uses: actions/setup-python@3105fb18c05ddd93efea5f9e0bef7a03a6e9e7df uses: actions/setup-python@3105fb18c05ddd93efea5f9e0bef7a03a6e9e7df
@ -64,7 +64,7 @@ jobs:
run: | run: |
Choco-Install -PackageName mingw -ArgumentList "--version","12.2.0","--allow-downgrade" Choco-Install -PackageName mingw -ArgumentList "--version","12.2.0","--allow-downgrade"
- if: matrix.os == 'ubuntu-latest' - if: matrix.os == 'ubuntu-latest'
name: Install dart-sass-embedded Linux name: Install dart-sass Linux
run: | run: |
echo "Install Dart Sass version ${SASS_VERSION} ..." echo "Install Dart Sass version ${SASS_VERSION} ..."
curl -LJO "https://github.com/sass/dart-sass/releases/download/${SASS_VERSION}/dart-sass-${SASS_VERSION}-linux-x64.tar.gz"; curl -LJO "https://github.com/sass/dart-sass/releases/download/${SASS_VERSION}/dart-sass-${SASS_VERSION}-linux-x64.tar.gz";
@ -73,7 +73,7 @@ jobs:
echo "$GOBIN" echo "$GOBIN"
echo "$GITHUB_WORKSPACE/dart-sass/" >> $GITHUB_PATH echo "$GITHUB_WORKSPACE/dart-sass/" >> $GITHUB_PATH
- if: matrix.os == 'macos-latest' - if: matrix.os == 'macos-latest'
name: Install dart-sass-embedded MacOS name: Install dart-sass MacOS
run: | run: |
echo "Install Dart Sass version ${SASS_VERSION} ..." echo "Install Dart Sass version ${SASS_VERSION} ..."
curl -LJO "https://github.com/sass/dart-sass/releases/download/${SASS_VERSION}/dart-sass-${SASS_VERSION}-macos-x64.tar.gz"; curl -LJO "https://github.com/sass/dart-sass/releases/download/${SASS_VERSION}/dart-sass-${SASS_VERSION}-macos-x64.tar.gz";
@ -81,7 +81,7 @@ jobs:
tar -xvf "dart-sass-${SASS_VERSION}-macos-x64.tar.gz"; tar -xvf "dart-sass-${SASS_VERSION}-macos-x64.tar.gz";
echo "$GITHUB_WORKSPACE/dart-sass/" >> $GITHUB_PATH echo "$GITHUB_WORKSPACE/dart-sass/" >> $GITHUB_PATH
- if: matrix.os == 'windows-latest' - if: matrix.os == 'windows-latest'
name: Install dart-sass-embedded Windows name: Install dart-sass Windows
run: | run: |
echo "Install Dart Sass version ${env:SASS_VERSION} ..." echo "Install Dart Sass version ${env:SASS_VERSION} ..."
curl -LJO "https://github.com/sass/dart-sass/releases/download/${env:SASS_VERSION}/dart-sass-${env:SASS_VERSION}-windows-x64.zip"; curl -LJO "https://github.com/sass/dart-sass/releases/download/${env:SASS_VERSION}/dart-sass-${env:SASS_VERSION}-windows-x64.zip";

View file

@ -171,7 +171,7 @@ parts:
snapcraftctl build snapcraftctl build
sed -i '1s|#!/usr/bin/ruby|#!/usr/bin/env ruby|' $SNAPCRAFT_PART_INSTALL/usr/bin/asciidoctor sed -i '1s|#!/usr/bin/ruby|#!/usr/bin/env ruby|' $SNAPCRAFT_PART_INSTALL/usr/bin/asciidoctor
dart-sass-embedded: dart-sass:
plugin: nil plugin: nil
build-packages: build-packages:
- curl - curl