Skip to content

Commit aacdec6

Browse files
committed
ci: Adds Zip Build steps
1 parent 27b7206 commit aacdec6

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,35 @@ jobs:
9090
token: ${{ secrets.GITHUB_TOKEN }}
9191
exclude_types: other,doc,chore
9292
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+
uses: actions/[email protected]
102+
with:
103+
lfs: true
93104

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+
94122
# Create Release
95123
- name: Create Release
96124
id: create_release
@@ -101,7 +129,7 @@ jobs:
101129
tag_name: ${{ github.ref }}
102130
release_name: Release ${{ github.ref }}
103131
body: |
104-
${{ steps.changelog.outputs.changelog }}
132+
${{ steps.generate-changelog.outputs.changelog }}
105133
draft: false
106134
prerelease: false
107135

0 commit comments

Comments
 (0)