feat: add combined release zip with binary and deb package
All checks were successful
CI / test (push) Successful in 20s
All checks were successful
CI / test (push) Successful in 20s
This commit is contained in:
@@ -131,6 +131,16 @@ jobs:
|
||||
|
||||
dpkg-deb --build "${deb_dir}" "${out_dir}/${pkg_name}_${deb_version}_${arch}.deb"
|
||||
|
||||
- name: Create release zip with binary and deb
|
||||
run: |
|
||||
cd dist
|
||||
deb_version="${{ steps.version.outputs.deb_version }}"
|
||||
zip_name="tai-${deb_version}-linux-amd64.zip"
|
||||
zip "${zip_name}" \
|
||||
tai \
|
||||
"tai_${deb_version}_amd64.deb"
|
||||
cd ..
|
||||
|
||||
- name: Upload binary artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
@@ -146,3 +156,11 @@ jobs:
|
||||
path: dist/tai_${{ steps.version.outputs.deb_version }}_amd64.deb
|
||||
if-no-files-found: error
|
||||
retention-days: 90
|
||||
|
||||
- name: Upload combined release zip
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: tai-release-${{ steps.version.outputs.tag }}
|
||||
path: dist/tai-${{ steps.version.outputs.deb_version }}-linux-amd64.zip
|
||||
if-no-files-found: error
|
||||
retention-days: 90
|
||||
|
||||
Reference in New Issue
Block a user