mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
misc: Change dart-sass labels in workflows and snapcraft
This commit is contained in:
parent
ebaa733d45
commit
2e4bf89ec7
2 changed files with 5 additions and 5 deletions
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
|
@ -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";
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue