File tree 1 file changed +5
-18
lines changed 1 file changed +5
-18
lines changed Original file line number Diff line number Diff line change 65
65
gsutil -h "Cache-Control:no-cache,max-age=0" cp build/helm/${version}.tgz gs://helm.coder.com/logstream-kube
66
66
gsutil -h "Cache-Control:no-cache,max-age=0" cp build/helm/index.yaml gs://helm.coder.com/logstream-kube
67
67
68
- - name : Create Release
69
- uses : actions/create-release@v1
70
- id : create_release
71
- env :
72
- GITHUB_TOKEN : ${{ github.token }}
73
- with :
74
- release_name : ${{ steps.version.outputs.version }}
75
- tag_name : ${{ github.ref }}
76
- prerelease : ${{ contains(github.ref, 'rc') }} # Release candidates are marked as pre-releases
77
-
78
- - name : Upload Helm Release Asset
79
- uses : actions/upload-release-asset@v1
80
- env :
81
- GITHUB_TOKEN : ${{ github.token }}
68
+ - name : Create and upload release
69
+ uses : softprops/action-gh-release@v2
82
70
with :
83
- upload_url : ${{ steps.create_release.outputs.upload_url }}
84
- asset_path : build/${{ steps.version.outputs.version }}.tgz
85
- asset_name : helm.tar.gz
86
- asset_content_type : application/gzip
71
+ token : ${{ github.token }}
72
+ files : build/${{ steps.version.outputs.version }}.tgz
73
+ prerelease : ${{ contains(github.ref, 'rc') }}
You can’t perform that action at this time.
0 commit comments