diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index ccd8c50..f964cc8 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -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