File tree Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Original file line number Diff line number Diff line change 90
90
token : ${{ secrets.GITHUB_TOKEN }}
91
91
exclude_types : other,doc,chore
92
92
config_file : .github/changelog-config.js
93
+
94
+ create-release :
95
+ name : Create Release
96
+ runs-on : ubuntu-latest
97
+ needs : [generate-changelog]
98
+ steps :
99
+ # Checkout Project
100
+ - name : Checkout Project
101
+
102
+ with :
103
+ lfs : true
93
104
105
+ # Download Artifacts
106
+ - name : Download Artifacts
107
+ uses : actions/download-artifact@v2
108
+ with :
109
+ name : Build
110
+ path : build
111
+
112
+ # Display structure of uploaded builds
113
+ - name : Display structure of uploaded builds
114
+ run : ls build
115
+
116
+ # Zip the artifacts
117
+ - name : Zip artifacts
118
+ run : |
119
+ cd build
120
+ for file in $(ls -I "*.zip"); do zip -r "${file}.zip" "$file"; done
121
+
94
122
# Create Release
95
123
- name : Create Release
96
124
id : create_release
@@ -101,7 +129,7 @@ jobs:
101
129
tag_name : ${{ github.ref }}
102
130
release_name : Release ${{ github.ref }}
103
131
body : |
104
- ${{ steps.changelog.outputs.changelog }}
132
+ ${{ steps.generate- changelog.outputs.changelog }}
105
133
draft : false
106
134
prerelease : false
107
135
You can’t perform that action at this time.
0 commit comments