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 1616 runs-on : ubuntu-latest
1717 outputs :
1818 envs : ${{ steps.get-envs.outputs.envs }}
19- pythons : ${{ steps.get-envs .outputs.pythons }}
19+ pythons : ${{ steps.get-pythons .outputs.pythons }}
2020 steps :
2121 - uses : actions/checkout@v4
2222 with :
3131 FORCE_COLOR= uvx hatch env show --json |
3232 jq -c 'to_entries | map(select(.key | startswith("hatch-test")) | { name: .key, python: .value.python })'
3333 )
34- PYTHONS_JSON=$(echo "$ENVS_JSON" | jq -c 'map(.python) | unique')
35-
3634 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')
3741 echo "pythons=$PYTHONS_JSON" | tee $GITHUB_OUTPUT
3842 test :
3943 name : Tests
You can’t perform that action at this time.
0 commit comments