Skip to content

Commit

Permalink
Merge pull request #229 from MetOffice/lock-file-fix
Browse files Browse the repository at this point in the history
Fix globbing for lock file hashing
  • Loading branch information
Sylviabohnenstengel authored Nov 9, 2023
2 parents 68b4ad7 + 2ff1561 commit b7a7196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/conda-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
exit 0
fi
# Update lock_file_hashes so pushed branch name is unique.
sha256sum requirements/* > ${{ runner.temp }}/lock_file_hashes
sha256sum requirements/locks/*.txt > ${{ runner.temp }}/lock_file_hashes
git add requirements/locks/*.txt
git commit -m "[CI] Update conda lock files"
git push --set-upstream origin "conda-lock-files:conda-lock-$(sha256sum ${{ runner.temp }}/lock_file_hashes | head -c 8)"
Expand Down

0 comments on commit b7a7196

Please sign in to comment.