Skip to content

Commit

Permalink
blah
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed Jun 27, 2024
1 parent 71523d4 commit d4a482a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,13 @@ runs:
conda list
shell: powershell


- name: Generate hash from models-json
id: generate_hash_windows
run: |
$hash = (Get-FileHash -Algorithm SHA256 -InputStream ([System.IO.MemoryStream][System.Text.Encoding]::UTF8.GetBytes("${{ inputs.models-json }}"))).Hash
echo "::set-output name=hash::$hash"
shell: powershell


# Keep in mind the self runner must be setup with a model in C:\actions-runner\
- name: '[Win] Download models'
Expand Down

0 comments on commit d4a482a

Please sign in to comment.