aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Yong Tang <yong.tang.github@outlook.com> 2020-11-19 12:40:41 -0800
committerGravatar GitHub <noreply@github.com> 2020-11-19 15:40:41 -0500
commit619a0aedc0331bae11d7f261588ab161debce53a (patch)
treec51f4b990a8470e576ea5cc1c33cda224df43e24
parent99f79817acfabe4f54a616699ed27babe078da46 (diff)
downloadcoredns-619a0aedc0331bae11d7f261588ab161debce53a.tar.gz
coredns-619a0aedc0331bae11d7f261588ab161debce53a.tar.zst
coredns-619a0aedc0331bae11d7f261588ab161debce53a.zip
Switch from actions/setup-go@v2-beta to actions/setup-go@v2 to fix the GitHub Actions set-env failure (#4302)
This PR switches from actions/setup-go@v2-beta to actions/setup-go@v2 to fix the GitHub Actions `set-env` failure. Without this PR the following error shown up (see https://github.com/coredns/coredns/runs/1423802307): ``` Error: Unable to process command '::set-env name=GOROOT::/opt/hostedtoolcache/go/1.15.5/x64' successfully. 7 Error: The `set-env` command is disabled. Please upgrade to using Environment Files or opt into unsecure command execution by setting the `ACTIONS_ALLOW_UNSECURE_COMMANDS` environment variable to `true`. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/ ``` Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
-rw-r--r--.github/workflows/make.doc.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/make.doc.yml b/.github/workflows/make.doc.yml
index 0c29194bc..1474de07f 100644
--- a/.github/workflows/make.doc.yml
+++ b/.github/workflows/make.doc.yml
@@ -19,7 +19,7 @@ jobs:
uses: actions/checkout@v2
-
name: Setup Go
- uses: actions/setup-go@v2-beta
+ uses: actions/setup-go@v2
with:
go-version: '^1.14.1'
-