@@ -94,29 +94,29 @@ jobs:
94
94
95
95
- name : Create Release
96
96
id : create-release
97
- uses : actions/create-release@latest
98
- env :
99
- # This token is provided by Actions, you do not need to create your own token
100
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
97
+ uses : actions/action-release@master
101
98
with :
102
- tag_name : ${{ github.ref }}
103
- release_name : Test # ${{ steps.get-version.outputs.VERSION }}
99
+ token : ${{ secrets.GITHUB_TOKEN }}
100
+ files : ' example.phar'
101
+ folder : " ${{github.workspace}}/"
102
+ tag : ${{ github.ref }}
103
+ name : ${{ steps.get-version.outputs.VERSION }}
104
104
body : ' All notable changes to this version has been documented in the CHANGELOG.md file.'
105
105
draft : false
106
106
prerelease : false
107
107
108
- - name : Upload Release Asset
109
- id : upload-release-asset
110
- uses : actions/upload-release-asset@v1
111
- env :
112
- # This token is provided by Actions, you do not need to create your own token
113
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
114
- with :
115
- # This pulls from the 'Create Release' step above,
116
- # referencing it's ID to get its outputs object,
117
- # which include a 'upload_url'. See this blog post for more info:
118
- # https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
119
- upload_url : ${{ steps.create-release.outputs.upload_url }}
120
- asset_path : ./example.phar
121
- asset_name : example.phar
122
- asset_content_type : application/x-php
108
+ # - name: Upload Release Asset
109
+ # id: upload-release-asset
110
+ # uses: actions/upload-release-asset@v1
111
+ # env:
112
+ # # This token is provided by Actions, you do not need to create your own token
113
+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
114
+ # with:
115
+ # # This pulls from the 'Create Release' step above,
116
+ # # referencing it's ID to get its outputs object,
117
+ # # which include a 'upload_url'. See this blog post for more info:
118
+ # # https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
119
+ # upload_url: ${{ steps.create-release.outputs.upload_url }}
120
+ # asset_path: ./example.phar
121
+ # asset_name: example.phar
122
+ # asset_content_type: application/x-php
0 commit comments