Welcome to mirror list, hosted at ThFree Co, Russian Federation.

action.yml « envs « scripts « workflows « .github - github.com/peaceiris/hugo-theme-iris.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b4eeeb90ed544dabbe6f9e4afdb6c2e3cbe77534 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
name: "Setup Hugo envs"
description: "A composite action to setup Hugo environments variables"
runs:
  using: "composite"
  steps:
    - name: Set envs
      shell: bash
      run: |
        . ./.env
        echo "::set-output name=HUGO_VERSION::${HUGO_VERSION}"
        echo "::set-output name=GO_VERSION::${GO_VERSION}"
        echo "::set-output name=NODE_VERSION::$(cat .nvmrc)"