Skip to content

Commit 066219a

Browse files
committed
1 parent 10ea078 commit 066219a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/cache-pixi-lock.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Generate and cache Pixi lockfile
22

33
on:
44
workflow_call:
5+
inputs:
6+
pixi-version:
7+
type: string
58
outputs:
69
cache-id:
710
description: "The lock file contents"
@@ -17,7 +20,7 @@ jobs:
1720
- uses: actions/checkout@v5
1821
with:
1922
fetch-depth: 0
20-
sparse-checkout: pixi.toml
23+
submodules: recursive
2124
- name: Get current date
2225
id: date
2326
run: echo "date=$(date +'%Y-%m-%d')" >> "$GITHUB_OUTPUT"
@@ -30,7 +33,7 @@ jobs:
3033
- uses: prefix-dev/[email protected]
3134
if: ${{ !steps.restore.outputs.cache-hit }}
3235
with:
33-
pixi-version: v0.49.0
36+
pixi-version: ${{ inputs.pixi-version }}
3437
run-install: false
3538
- name: Run pixi lock
3639
if: ${{ !steps.restore.outputs.cache-hit }}

0 commit comments

Comments
 (0)