File tree 1 file changed +6
-18
lines changed
1 file changed +6
-18
lines changed Original file line number Diff line number Diff line change @@ -88,25 +88,13 @@ jobs:
88
88
- run : pip install -vvv ${{ steps.create_dist.outputs.whl }}
89
89
- run : rsconnect version
90
90
- run : rsconnect --help
91
- - if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
92
- id : create_release
93
- uses : actions/create-release@v1
94
- env :
95
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
96
- with :
97
- tag_name : ${{ github.ref }}
98
- release_name : Release ${{ github.ref }}
99
- draft : false
100
- prerelease : false
101
- - if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
102
- uses : actions/upload-release-asset@v1
103
- env :
104
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
91
+ - name : release
92
+ uses : softprops/action-gh-release@v2
93
+ if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
105
94
with :
106
- upload_url : ${{ steps.create_release.outputs.upload_url }}
107
- asset_path : ${{ steps.create_dist.outputs.whl }}
108
- asset_name : ${{ steps.create_dist.outputs.whl_basename }}
109
- asset_content_type : application/x-wheel+zip
95
+ files : |
96
+ *.whl
97
+ token : ${{ secrets.GITHUB_TOKEN }}
110
98
- uses : aws-actions/configure-aws-credentials@v4
111
99
id : creds
112
100
with :
You can’t perform that action at this time.
0 commit comments