Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix quotings #18

Merged
merged 3 commits into from
Sep 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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