mirror of
https://github.com/CompeyDev/setup-rokit.git
synced 2024-12-12 12:40:36 +00:00
fix: attempt to fix manifest hash computation
This commit is contained in:
parent
7dd03cbf10
commit
cd22e8b9f5
1 changed files with 4 additions and 2 deletions
|
@ -45,9 +45,11 @@ runs:
|
||||||
run: |
|
run: |
|
||||||
manifest_path=$(find ${{ inputs.path }} -maxdepth 1 -name "rokit.toml" -o -name "aftman.toml" -o -name "foreman.toml")
|
manifest_path=$(find ${{ inputs.path }} -maxdepth 1 -name "rokit.toml" -o -name "aftman.toml" -o -name "foreman.toml")
|
||||||
echo "::debug::Discovered manifest path: $manifest_path"
|
echo "::debug::Discovered manifest path: $manifest_path"
|
||||||
|
|
||||||
echo "path=$manifest_path" >> $GITHUB_OUTPUT
|
echo "path=$manifest_path" >> $GITHUB_OUTPUT
|
||||||
echo "hash=${{hashFiles(format('{0}/$manifest_path', inputs.path))}}" >> $GITHUB_OUTPUT
|
|
||||||
|
manifest_hash=${{hashFiles(manifest_path)}}
|
||||||
|
echo "::debug::Computed manifest hash: $manifest_hash"
|
||||||
|
echo "hash=$manifest_hash" >> $GITHUB_OUTPUT
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Cache binaries
|
- name: Cache binaries
|
||||||
|
|
Loading…
Reference in a new issue