Skip to content

Commit 1c3999b

Browse files
authored
ci: use the right install command (#2506)
1 parent 66337c4 commit 1c3999b

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,13 +150,18 @@ jobs:
150150
with:
151151
enable-cache: true
152152

153-
- run: |
153+
- uses: denoland/setup-deno@v2
154+
with:
155+
deno-version: v2.x
156+
157+
- name: choose install command
158+
run: |
154159
if [ "${{ matrix.install }}" = "slim" ]; then
155-
echo "--package pydantic-ai-slim"
160+
echo "install-command=--package pydantic-ai-slim" >> $GITHUB_OUTPUT
156161
elif [ "${{ matrix.install }}" = "standard" ]; then
157-
echo ""
162+
echo "install-command=" >> $GITHUB_OUTPUT
158163
elif [ "${{ matrix.install }}" = "all-extras" ]; then
159-
echo "--all-extras"
164+
echo "install-command=--all-extras" >> $GITHUB_OUTPUT
160165
fi
161166
id: install-command
162167

0 commit comments

Comments
 (0)