From cf742dcfd501fe45e4d5d88b56c4bfcb10750bfb Mon Sep 17 00:00:00 2001 From: Horst Gutmann Date: Fri, 6 Sep 2024 09:22:36 +0200 Subject: [PATCH] fix(ci): fix setup-goversion after Dockerfile cleanup --- .github/actions/setup-goversion/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/setup-goversion/action.yml b/.github/actions/setup-goversion/action.yml index f59dcc0a4..59cd9cabe 100644 --- a/.github/actions/setup-goversion/action.yml +++ b/.github/actions/setup-goversion/action.yml @@ -4,7 +4,7 @@ runs: steps: - id: goversion run: | - cat Dockerfile | awk '/^FROM golang:.* as build$/ {v=$2;split(v,a,":")}; END {printf("version=%s", a[2])}' >> $GITHUB_OUTPUT + cat Dockerfile | awk '/^FROM golang:.* AS build$/ {v=$2;split(v,a,":")}; END {printf("version=%s", a[2])}' >> $GITHUB_OUTPUT shell: bash - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 with: