Skip to content

Commit

Permalink
Fix quotings (#18)
Browse files Browse the repository at this point in the history
* Fix quotings

* Ask uv for cache dir

* extract
  • Loading branch information
hynek authored Sep 9, 2024
1 parent 8ee921a commit e94d440
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ runs:
UV_CACHE_DIR="${{ inputs.uv-cache-path }}"
fi
echo "UV_CACHE_DIR=\"$UV_CACHE_DIR\"" >>$GITHUB_ENV
echo "uv cache dir is $UV_CACHE_DIR"
echo "UV_CACHE_DIR=$UV_CACHE_DIR" >>$GITHUB_ENV
curl \
--location \
Expand All @@ -66,13 +65,16 @@ runs:
$UV_CACHE_DIR = "${{ inputs.uv-cache-path }}"
}
echo "UV_CACHE_DIR=${{ inputs.uv-cache-path }}" >> $env:GITHUB_ENV
Write-Output "uv cache dir is $UV_CACHE_DIR"
echo "UV_CACHE_DIR=$UV_CACHE_DIR" >> $env:GITHUB_ENV
irm https://astral.sh/uv/install.ps1 | iex
shell: pwsh
if: runner.os == 'Windows'

- name: Check cache dir
shell: bash
run: echo "uv cache dir is $(uv cache dir)"

- name: Compute cache key suffix by hashing ${{ inputs.cache-dependency-path }}
run: >
echo
Expand Down

0 comments on commit e94d440

Please sign in to comment.