File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 WF_BUILD_DIR : ${{ github.workspace }}/cpython/build
2525 WF_ZIPFILE : ${{ github.workspace }}/cpython/python-${{ github.event.inputs.py_commit }}-built.zip
2626 steps :
27+ - name : set env
28+ run : |
29+ echo "NOW=$(date +'%s')" >> $GITHUB_ENV
30+ echo "RLNAME=${{ github.event.inputs.py_commit }}-${NOW}" >> $GITHUB_ENV
31+
32+ - name : test
33+ run : echo "now ${NOW} -- rl ${RLNAME}"
34+
2735 - name : checkout python
2836 uses : actions/checkout@v4
2937 with :
5361 run : |
5462 ls ${WF_BUILD_DIR}
5563 zip -r ${WF_ZIPFILE} ${WF_BUILD_DIR}
56-
57- - name : get date
58- run : echo "NOW=$(date +'%s')" >> $GITHUB_ENV
5964
6065 - name : upload
61- uses : softprops/action-gh-release@v2
62- with :
63- files : ${WF_ZIPFILE}
64- tag_name : ${{ github.event.inputs.py_commit }}-${NOW}
65- repository : TbhLovers/PythonBuilds
66+ run : |
67+ gh release create ${RLNAME} -R TbhLovers/PythonBuilds --notes hi
68+ gh release upload ${RLNAME} ${WF_ZIPFILE} -R TbhLovers/PythonBuilds
You can’t perform that action at this time.
0 commit comments