From 7a50ddc6941e49c88a35080315a84a684c825347 Mon Sep 17 00:00:00 2001 From: Shohei Ueda <30958501+peaceiris@users.noreply.github.com> Date: Fri, 24 Jan 2020 00:17:39 +0900 Subject: [PATCH] ci: Add Hugo version dump step --- .github/workflows/test-action.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-action.yml b/.github/workflows/test-action.yml index 47070734..dab7a685 100644 --- a/.github/workflows/test-action.yml +++ b/.github/workflows/test-action.yml @@ -30,4 +30,9 @@ jobs: hugo-version: ${{ matrix.hugo-version }} extended: ${{ matrix.extended }} - - run: hugo version + - name: Run hugo version + run: echo "::set-output name=hugo_version::$(hugo version)" + id: hugo_version + + - name: '${{ steps.hugo_version.outputs.hugo_version }}' + run: echo '${{ steps.hugo_version.outputs.hugo_version }}'