Skip to content

Commit

Permalink
fix(ci): fix setup-goversion after Dockerfile cleanup (#1154)
Browse files Browse the repository at this point in the history
  • Loading branch information
zerok authored Sep 6, 2024
1 parent 386e905 commit d69d2f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/setup-goversion/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d69d2f2

Please sign in to comment.