File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,16 +21,16 @@ jobs:
2121 runs-on : ubuntu-latest
2222 steps :
2323 - name : Install Hugo CLI
24- # Manually set hugo version, latest by default
2524 env :
25+ # Manually set hugo version, latest by default
2626 HUGO_VERSION : " "
2727 run : |
2828 if [ -z $HUGO_VERSION ]; then
2929 echo "[INFO] no HUGO_VERSION specified, use latest";
3030 HUGO_VERSION=`curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | jq -r .tag_name | sed 's/^.//'`;
3131 fi
32- echo "[INFO] Hugo version : ${HUGO_VERSION}"
33- wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb
32+ echo "[INFO] HUGO_VERSION : ${HUGO_VERSION}"
33+ wget -qO ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb
3434 sudo dpkg -i ${{ runner.temp }}/hugo.deb
3535 - name : Checkout
3636 uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments