pull/184/head
Simon Let 3 years ago
parent 582f9b710e
commit d762699957
  1. 4
      .github/workflows/go.yaml
  2. 3
      .github/workflows/release.yaml

@ -12,8 +12,8 @@ jobs:
with:
fetch-depth: 0
- name: Go
run: ls && ls *
- name: Install grep & coreutils
run: apt update -qq && apt install grep coreutils -qq
- name: Get Go version
run: echo "GO_VERSION=$(grep 'go \d\.' go.mod | cut -d ' ' -f 2)" >> $GITHUB_ENV && cat $GITHUB_ENV

@ -17,6 +17,9 @@ jobs:
with:
fetch-depth: 0
- name: Install grep & coreutils
run: apt update -qq && apt install grep coreutils -qq
- name: Get Go version
run: echo "GO_VERSION=$(grep 'go \d\.' go.mod | cut -d ' ' -f 2)" >> $GITHUB_ENV

Loading…
Cancel
Save