Skip to content

Commit

Permalink
ci: Adding fetch-tags under with
Browse files Browse the repository at this point in the history
Signed-off-by: Johan Fylling <[email protected]>
  • Loading branch information
johanfylling committed Feb 27, 2025
1 parent 1f62971 commit 2695613
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/post-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
fetch-tags: true
with:
fetch-tags: true

- name: Build Linux and Windows
run: make ci-go-ci-build-linux ci-go-ci-build-linux-static ci-go-ci-build-windows
Expand Down Expand Up @@ -119,7 +120,8 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
fetch-tags: true
with:
fetch-tags: true

- id: go_version
name: Read go version
Expand Down Expand Up @@ -152,7 +154,8 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
fetch-tags: true
with:
fetch-tags: true

- name: Test
run: make ci-release-test
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/post-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
fetch-tags: true
with:
token: ${{ secrets.GH_PUSH_TOKEN }}
fetch-tags: true

- name: Generate
run: make clean generate
Expand All @@ -26,7 +26,8 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
fetch-tags: true
with:
fetch-tags: true

- name: Build Linux and Windows
run: make ci-go-ci-build-linux ci-go-ci-build-linux-static ci-go-ci-build-windows
Expand Down Expand Up @@ -55,7 +56,8 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
fetch-tags: true
with:
fetch-tags: true

- id: go_version
name: Read go version
Expand Down

0 comments on commit 2695613

Please sign in to comment.