mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-10 05:34:54 -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
|
# Default to bash
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
|
# GitHub-hosted runners automatically enable `set -eo pipefail` for Bash shells.
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@ -114,14 +115,14 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Install Hugo CLI
|
- name: Install Hugo CLI
|
||||||
run: |
|
run: |
|
||||||
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.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
|
sudo dpkg -i ${{ runner.temp }}/hugo.deb
|
||||||
- name: Install Dart Sass
|
- name: Install Dart Sass
|
||||||
run: |
|
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 \
|
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 }} \
|
tar -xf ${{ runner.temp }}/dart-sass.tar.gz --directory ${{ runner.temp }}
|
||||||
&& mv ${{ runner.temp }}/dart-sass/ /usr/local/bin \
|
mv ${{ runner.temp }}/dart-sass/ /usr/local/bin
|
||||||
&& echo "/usr/local/bin/dart-sass" >> $GITHUB_PATH
|
echo "/usr/local/bin/dart-sass" >> $GITHUB_PATH
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user