pull/184/head
Simon Let 3 years ago
parent 3c834209e0
commit c64079874f
  1. 2
      .github/workflows/go.yaml

@ -20,7 +20,7 @@ jobs:
run: which grep run: which grep
- name: grep - name: grep
run: grep 'go \d\.' go.mod run: grep -E 'go \d\.' go.mod
- name: Get Go version - name: Get Go version
run: echo "GO_VERSION=$(grep 'go \d\.' go.mod | cut -d ' ' -f 2)" >> $GITHUB_ENV && cat $GITHUB_ENV run: echo "GO_VERSION=$(grep 'go \d\.' go.mod | cut -d ' ' -f 2)" >> $GITHUB_ENV && cat $GITHUB_ENV

Loading…
Cancel
Save