Skip to content

Commit 76aa7fe

Browse files
committed
fix: add actions/checkout to release job for gh CLI git context
gh release create requires a local git repository to determine the remote origin. The release job only downloaded artifacts without checking out the repo, causing 'fatal: not a git repository'.
1 parent d86b8d5 commit 76aa7fe

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ jobs:
113113
needs: build
114114
runs-on: ubuntu-latest
115115
steps:
116+
- uses: actions/checkout@v4
116117
- uses: actions/download-artifact@v4
117118
with:
118119
path: _artifacts

0 commit comments

Comments
 (0)