File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 name : Create python distribution for release
1111 runs-on : ubuntu-latest
1212 steps :
13- - name : Dump Github Context
14- env :
15- GITHUB_CONTEXT : ${{ toJson(github) }}
16- run : echo "$GITHUB_CONTEXT"
1713 - name : Setup Python 2.7
1814 uses : actions/setup-python@v1
1915 with :
2319 - name : Create Egg
2420 run : >-
2521 make egg
22+ - name : Get Egg Name
23+ id : get_egg
24+ run : |
25+ egg=$(ls dist/)
26+ echo "::set-output name=egg::$egg"
2627 - name : Create Release
2728 id : create_release
2829 uses : actions/create-release@v1
4041 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4142 with :
4243 upload_url : ${{ steps.create_release.outputs.upload_url }}
43- asset_path : ' ["./dist/*. egg"] '
44- asset_name : Testing
44+ asset_path : ${{ steps.get_egg.outputs. egg }}
45+ asset_name : ${{ steps.get_egg.outputs.egg }}
4546 asset_content_type : application/zip
Original file line number Diff line number Diff line change 22
33setup (
44 name = 'python-test' ,
5- version = '0.0.4 ' ,
5+ version = '0.0.6 ' ,
66 author = 'Tyler Bailey' ,
77 packages = ['python_test' ],
88)
You can’t perform that action at this time.
0 commit comments