mirror of
https://github.com/CompeyDev/setup-rokit.git
synced 2024-12-12 04:30:37 +00:00
fix: bash substitution does not work in actions contexts
This commit is contained in:
parent
cd22e8b9f5
commit
72aad542bd
1 changed files with 1 additions and 5 deletions
|
@ -46,10 +46,6 @@ runs:
|
||||||
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
|
||||||
|
|
||||||
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
|
||||||
|
@ -59,7 +55,7 @@ runs:
|
||||||
path: |
|
path: |
|
||||||
~/.rokit/bin
|
~/.rokit/bin
|
||||||
~/.rokit/tool-storage
|
~/.rokit/tool-storage
|
||||||
key: ${{ runner.os }}-rokit-${{ steps.manifest.outputs.hash }}
|
key: ${{ runner.os }}-rokit-${{hashFiles(steps.manifest.outputs.path)}}
|
||||||
|
|
||||||
- name: Install tools
|
- name: Install tools
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue