Skip to content

Commit ac3154a

Browse files
committed
cache-pixi-lock - pixi version from input
1 parent 14ec3e9 commit ac3154a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
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"
@@ -30,7 +33,7 @@ jobs:
3033
- uses: prefix-dev/[email protected]
3134
if: ${{ !steps.restore.outputs.cache-hit }}
3235
with:
33-
pixi-version: v0.56.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)