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: