We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8842b03 commit fdfcb0eCopy full SHA for fdfcb0e
create-and-cache/action.yml
@@ -6,6 +6,10 @@ inputs:
6
description: "Version of pixi to use for generating the lock file"
7
required: false
8
default: "latest"
9
+ hash-files:
10
+ description: "Files to use to generate the hash key for the lock file."
11
+ required: false
12
+ default: "{pixi.toml,pyproject.toml}"
13
14
outputs:
15
pixi-version:
@@ -23,7 +27,7 @@ runs:
23
27
shell: bash
24
28
run: |
25
29
today=$(date +'%Y-%m-%d')
26
- key="pixi-lock_${{ inputs.pixi-version }}_${{ hashFiles('pixi.toml') }}_${today}"
30
+ key="pixi-lock_${{ inputs.pixi-version }}_${{ hashFiles(inputs.hash-files) }}_${today}"
31
echo "key=${key}" >> "$GITHUB_OUTPUT"
32
33
- name: Restore pixi.lock from cache
0 commit comments