From f57a65e4db76710f8c455ec350f765aff3591cc7 Mon Sep 17 00:00:00 2001 From: anton rudy Date: Sun, 26 May 2024 06:21:07 +0300 Subject: [PATCH] updated(github actions): Added goversioninfo into env --- .github/workflows/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 595619c..b42c31c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,6 +21,12 @@ jobs: - name: Install dependencies run: go mod tidy + - name: Install goversioninfo + run: go install github.com/josephspurrier/goversioninfo/cmd/goversioninfo@latest + + - name: Add Go bin to PATH + run: echo "${{ runner.tool_cache }}/go/$(go version | awk '{print $3}')/bin" >> $GITHUB_PATH + - name: Generate .syso run: go generate .\cmd\