From 90675af4882e8922f772273d4115f9b69f0a10fb Mon Sep 17 00:00:00 2001 From: "Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)" Date: Tue, 15 Dec 2020 13:46:08 +0000 Subject: [PATCH] Add missing hugo download to github actions. --- .github/workflows/make_release.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/make_release.yml b/.github/workflows/make_release.yml index f8ac0eca93..4b29e7ede3 100644 --- a/.github/workflows/make_release.yml +++ b/.github/workflows/make_release.yml @@ -91,10 +91,24 @@ jobs: fi echo ::set-output name=HAS_DEPLOY_KEY::${HAS_DEPLOY_KEY} + - name: Get Hugo + if: steps.vars.outputs.HAS_DEPLOY_KEY + uses: actions/cache@v2 + with: + path: hugo_bin + key: hugo_bin + - name: Convert to boostorg/outcome if: steps.vars.outputs.HAS_DEPLOY_KEY shell: bash run: | + if [ ! -f "hugo_bin/hugo" ]; then + wget -O hugo.tar.gz https://github.com/gohugoio/hugo/releases/download/v0.52/hugo_0.52_Linux-64bit.tar.gz; + mkdir hugo_bin; + tar xf hugo.tar.gz -C hugo_bin; + fi + ls -l hugo_bin + export PATH=$PATH:`pwd`/hugo_bin pip install --user gitpython git remote add outcome https://github.com/ned14/outcome git fetch outcome