diff options
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r-- | .github/workflows/release.yml | 11 |
1 files changed, 5 insertions, 6 deletions
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 |