Skip to content

Commit d83d555

Browse files
committed
Updating github-config
1 parent 8d36bdc commit d83d555

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/update-dependencies-from-metadata.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ jobs:
2828
- name: Setup Go
2929
uses: actions/setup-go@v6
3030
with:
31-
go-version-file: go.mod
31+
# hashFiles returns empty string if file does not exist
32+
go-version-file: ${{ hashFiles('dependency/retrieval/go.mod') != '' && 'dependency/retrieval/go.mod' || 'go.mod' }}
3233

3334
- name: Run Retrieve
3435
id: retrieve

0 commit comments

Comments
 (0)