Skip to content

Commit

Permalink
Different approach to generating hash
Browse files Browse the repository at this point in the history
  • Loading branch information
nialdaly committed Jan 9, 2025
1 parent 56e94fa commit 5257aa7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ jobs:
- name: Generate cloud-provider-kind cache key
id: cloud-provider-cache
run: |
echo "hash=$(cd cloud-provider-kind && find . -type f -exec sha256sum {} \; | sort | sha256sum | cut -d' ' -f1)" >> $GITHUB_OUTPUT
# echo "hash=$(cd cloud-provider-kind && find . -type f -exec sha256sum {} \; | sort | sha256sum | cut -d' ' -f1)" >> $GITHUB_OUTPUT
echo "hash=$(cd cloud-provider-kind && git rev-parse HEAD)" >> $GITHUB_OUTPUT
- name: Cache cloud-provider-kind image
uses: actions/cache@v3
Expand Down Expand Up @@ -104,7 +105,8 @@ jobs:
- name: Generate cloud-provider-kind cache key
id: cloud-provider-cache
run: |
echo "hash=$(cd cloud-provider-kind && find . -type f -exec sha256sum {} \; | sort | sha256sum | cut -d' ' -f1)" >> $GITHUB_OUTPUT
# echo "hash=$(cd cloud-provider-kind && find . -type f -exec sha256sum {} \; | sort | sha256sum | cut -d' ' -f1)" >> $GITHUB_OUTPUT
echo "hash=$(cd cloud-provider-kind && git rev-parse HEAD)" >> $GITHUB_OUTPUT
- name: Cache cloud-provider-kind image
uses: actions/cache@v3
Expand Down

0 comments on commit 5257aa7

Please sign in to comment.