From 4655faf9804a612176b18f2458817f78df8dbb2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Sun, 23 Apr 2023 15:04:36 +0200 Subject: [workflow] Port changes also to release --- .github/workflows/release.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to '.github') diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5887bd0..2057567 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,17 +11,16 @@ jobs: runs-on: ubuntu-latest steps: - - name: Set up Go 1.20 - uses: actions/setup-go@v4 - with: - go-version: '1.20' - id: go - - name: Checkout uses: actions/checkout@v3 with: fetch-depth: 0 + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version-file: 'go.mod' + - name: Get version from tag uses: little-core-labs/get-git-tag@v3.0.2 id: tag_name -- cgit v1.2.3