Skip to content

Commit

Permalink
Switch to deep checkout needed for release action (#104)
Browse files Browse the repository at this point in the history
softprops/action-gh-release@v1 needs the whole history (or at least until
the last tag) to create Change Log and Releases. The checkout action v3
per default only gets the latest commit, which makes the release action fail.

Add the setting for a full checkout to support release building.
  • Loading branch information
penguineer authored Apr 5, 2023
1 parent a76368f commit 5e83974
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v3
Expand Down

0 comments on commit 5e83974

Please sign in to comment.