mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-08 08:24:37 -04:00
content: Remove command chaining from GitHub Actions workflow
Co-authored-by: Khemarato Bhikkhu <khemarato.bhikkhu@gmail.com>
This commit is contained in:
parent
6ecb96bcdb
commit
b7247a8ea5
@ -100,6 +100,7 @@ concurrency:
|
||||
# Default to bash
|
||||
defaults:
|
||||
run:
|
||||
# GitHub-hosted runners automatically enable `set -eo pipefail` for Bash shells.
|
||||
shell: bash
|
||||
|
||||
jobs:
|
||||
@ -114,14 +115,14 @@ jobs:
|
||||
steps:
|
||||
- name: Install Hugo CLI
|
||||
run: |
|
||||
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
|
||||
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
|
||||
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb
|
||||
sudo dpkg -i ${{ runner.temp }}/hugo.deb
|
||||
- name: Install Dart Sass
|
||||
run: |
|
||||
wget -O ${{ runner.temp }}/dart-sass.tar.gz https://github.com/sass/dart-sass/releases/download/${DART_SASS_VERSION}/dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz \
|
||||
&& tar -xf ${{ runner.temp }}/dart-sass.tar.gz --directory ${{ runner.temp }} \
|
||||
&& mv ${{ runner.temp }}/dart-sass/ /usr/local/bin \
|
||||
&& echo "/usr/local/bin/dart-sass" >> $GITHUB_PATH
|
||||
wget -O ${{ runner.temp }}/dart-sass.tar.gz https://github.com/sass/dart-sass/releases/download/${DART_SASS_VERSION}/dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz
|
||||
tar -xf ${{ runner.temp }}/dart-sass.tar.gz --directory ${{ runner.temp }}
|
||||
mv ${{ runner.temp }}/dart-sass/ /usr/local/bin
|
||||
echo "/usr/local/bin/dart-sass" >> $GITHUB_PATH
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user