File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 16
16
runs-on : ubuntu-latest
17
17
outputs :
18
18
envs : ${{ steps.get-envs.outputs.envs }}
19
- pythons : ${{ steps.get-envs .outputs.pythons }}
19
+ pythons : ${{ steps.get-pythons .outputs.pythons }}
20
20
steps :
21
21
- uses : actions/checkout@v4
22
22
with :
31
31
FORCE_COLOR= uvx hatch env show --json |
32
32
jq -c 'to_entries | map(select(.key | startswith("hatch-test")) | { name: .key, python: .value.python })'
33
33
)
34
- PYTHONS_JSON=$(echo "$ENVS_JSON" | jq -c 'map(.python) | unique')
35
-
36
34
echo "envs=$ENVS_JSON" | tee $GITHUB_OUTPUT
35
+ - name : Get python versions
36
+ id : get-pythons
37
+ env :
38
+ ENVS_JSON : ${{ steps.get-envs.outputs.envs }}
39
+ run : |
40
+ PYTHONS_JSON=$(echo "$ENVS_JSON" | jq -c 'map(.python) | unique')
37
41
echo "pythons=$PYTHONS_JSON" | tee $GITHUB_OUTPUT
38
42
test :
39
43
name : Tests
You can’t perform that action at this time.
0 commit comments