Skip to content

Commit

Permalink
Update CICD-base.yaml (#85)
Browse files Browse the repository at this point in the history
* Update CICD-base.yaml

* Add default encoding
  • Loading branch information
nwiltsie authored Nov 18, 2023
1 parent 272cf09 commit af334fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CICD-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ jobs:

# Run CICD-base
- name: CICD-base
uses: docker://blcdsdockerregistry/cicd-base:latest
uses: docker://ghcr.io/uclahs-cds/cicd-base:latest
2 changes: 1 addition & 1 deletion generate_checksum/checksum.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def _generate_sha512(path:Path):

def _write_checksum_file(path:Path, hash_type:str, computed_hash:str):
''' Write checksum to file '''
with open(str(path) + '.' + hash_type, 'w') as checksum_file:
with open(str(path) + '.' + hash_type, 'w', encoding="utf-8") as checksum_file:
checksum_file.write(computed_hash + ' ' + str(path) + '\n')

print(f'{hash_type} checksum generated for {str(path)}')
Expand Down

0 comments on commit af334fe

Please sign in to comment.