Skip to content

Commit db6541b

Browse files
committed
(d) always generate license metadata cache artifact
1 parent 132fc4a commit db6541b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/check-go-dependencies-task.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -94,15 +94,15 @@ jobs:
9494
- name: Update dependencies license metadata cache
9595
run: task --silent general:cache-dep-licenses
9696

97-
- name: Check for outdated cache
98-
id: diff
99-
run: |
100-
git add .
101-
if ! git diff --cached --color --exit-code; then
102-
echo
103-
echo "::error::Dependency license metadata out of sync. See: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-go-dependencies-task.md#metadata-cache"
104-
exit 1
105-
fi
97+
# - name: Check for outdated cache
98+
# id: diff
99+
# run: |
100+
# git add .
101+
# if ! git diff --cached --color --exit-code; then
102+
# echo
103+
# echo "::error::Dependency license metadata out of sync. See: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-go-dependencies-task.md#metadata-cache"
104+
# exit 1
105+
# fi
106106

107107
# Some might find it convenient to have CI generate the cache rather than setting up for it locally
108108
- name: Upload cache to workflow artifact

0 commit comments

Comments
 (0)