File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,17 @@ inputs:
2020 mostly useful when you want to use outputs in later steps
2121 required : false
2222
23+ outputs :
24+ IS_PRERELEASE :
25+ description : " Either `'true'` or `'false'` whether the version is a pre-release"
26+ value : ${{ steps.check-python-version.outputs.IS_PRERELEASE }}
27+ VERSION :
28+ description : The "pretty" version string
29+ value : ${{ steps.check-python-version.outputs.VERSION }}
30+ VERSION_MAJOR_MINOR :
31+ description : " Major and minor version numbers, e.g. `1.2.3` would output `1.2`"
32+ value : ${{ steps.check-python-version.outputs.VERSION_MAJOR_MINOR }}
33+
2334runs :
2435 using : composite
2536 steps :
2839 enable-cache : true
2940 python-version : 3.13
3041
42+ - run : echo "$GITHUB_ACTION_PATH" >> $GITHUB_PATH
43+ shell : bash
44+ env :
45+ GITHUB_ACTION_PATH : ${{ github.action_path }}
46+
3147 - run : check-python-version.py
48+ id : check-python-version
3249 shell : bash
3350
3451branding :
You can’t perform that action at this time.
0 commit comments