File tree 1 file changed +6
-29
lines changed
1 file changed +6
-29
lines changed Original file line number Diff line number Diff line change @@ -91,33 +91,10 @@ jobs:
91
91
$latestYml.files[0].size = $size
92
92
$latestYml | ConvertTo-Yaml | Set-Content -Path signed/latest.yml
93
93
94
- - name : Get release
95
- id : get_release
96
- uses : bruceadams/get-release@v1.3.2
97
-
98
- - name : Get artifact name
99
- id : get_artifact_name
100
- run : |
101
- echo "::set-output name=artifact_name::$(Get-ChildItem -Path signed -Filter "HyperPlay*.exe" | Select-Object -ExpandProperty Name)"
102
-
103
- - name : Upload release asset
104
- id : upload-release-asset
105
- uses : actions/upload-release-asset@v1
106
- env :
107
- GITHUB_TOKEN : ${{ secrets.WORKFLOW_TOKEN }}
108
- with :
109
- upload_url : ${{ steps.get_release.outputs.upload_url }}
110
- asset_path : signed/${{ steps.get_artifact_name.outputs.artifact_name }}
111
- asset_name : ${{ steps.get_artifact_name.outputs.artifact_name }}
112
- asset_content_type : application/octet-stream
113
-
114
- - name : Upload release asset
115
- id : upload-latest-yml
116
- uses : actions/upload-release-asset@v1
117
- env :
118
- GITHUB_TOKEN : ${{ secrets.WORKFLOW_TOKEN }}
94
+ - name : Create Release
95
+ uses : ncipollo/release-action@v1.13.0
119
96
with :
120
- upload_url : ${{ steps.get_release.outputs.upload_url }}
121
- asset_path : signed/latest.yml
122
- asset_name : latest.yml
123
- asset_content_type : application/octet-stream
97
+ token : ${{ secrets.WORKFLOW_TOKEN }}
98
+ draft : true
99
+ allowUpdates : true
100
+ artifacts : ' signed/latest.yml,signed/HyperPlay*.exe,dist/*.blockmap '
You can’t perform that action at this time.
0 commit comments