From d76269995705e58784f9e3899071cf92534b1e30 Mon Sep 17 00:00:00 2001 From: Simon Let Date: Thu, 15 Dec 2022 17:27:13 +0100 Subject: [PATCH] ci --- .github/workflows/go.yaml | 4 ++-- .github/workflows/release.yaml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index d7a2c06..6853164 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.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 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 883e835..81a1fbf 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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