From 3d04f5590a786db2e7ec001f3ab5125c7d8c8592 Mon Sep 17 00:00:00 2001 From: thediveo Date: Wed, 21 Jun 2023 19:43:44 +0200 Subject: [PATCH] fix: build and release gh action --- .github/workflows/buildandrelease.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/buildandrelease.yaml b/.github/workflows/buildandrelease.yaml index e727f17..68d890c 100644 --- a/.github/workflows/buildandrelease.yaml +++ b/.github/workflows/buildandrelease.yaml @@ -1,4 +1,4 @@ -name: buildandrelease +name: 'build and release' on: push: @@ -15,8 +15,9 @@ jobs: steps: - name: Checkout uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # pin@v3 - with: - fetch-depth: 0 + - name: Get all git tags + run: | + git fetch --prune --unshallow --tags - name: Set up Go uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # pin@v4 - name: Run GoReleaser