From 80176483ec7749aa500a30e59c7b7b508f53a6b6 Mon Sep 17 00:00:00 2001 From: omissis Date: Sun, 11 Sep 2022 16:41:08 +0200 Subject: [PATCH] fix: release pipeline --- .github/workflows/release.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2d5a532..f12c115 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -46,6 +46,18 @@ jobs: if: ${{ contains(github.ref_name, '-') }} runs-on: ubuntu-22.04 steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Fetch all tags + run: git fetch --force --tags + - name: Setup Git Crypt + run: sudo apt-get install -y git-crypt + - name: Setup Golang + uses: actions/setup-go@v3 + with: + go-version: '^1.19.0' - name: Run GoReleaser uses: goreleaser/goreleaser-action@v3 with: @@ -60,6 +72,18 @@ jobs: if: ${{ !contains(github.ref_name, '-') }} runs-on: ubuntu-22.04 steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Fetch all tags + run: git fetch --force --tags + - name: Setup Git Crypt + run: sudo apt-get install -y git-crypt + - name: Setup Golang + uses: actions/setup-go@v3 + with: + go-version: '^1.19.0' - name: Run GoReleaser uses: goreleaser/goreleaser-action@v3 with: