Skip to content

Commit c0d31e8

Browse files
authored
crying
1 parent a12fbae commit c0d31e8

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.github/workflows/build.yaml

+11-8
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@ jobs:
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:
@@ -53,13 +61,8 @@ jobs:
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

0 commit comments

Comments
 (0)