From 16ae1476f09cc4f2e29750de747d8639bb0ef8bd Mon Sep 17 00:00:00 2001 From: Sandy Carter Date: Sat, 10 Jun 2023 20:55:21 -0400 Subject: [PATCH] Zip submodules --- .github/workflows/release.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dda9c05..b8d9a16 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -93,8 +93,25 @@ jobs: permissions: contents: write steps: + - uses: actions/checkout@v3 + with: + submodules: recursive + fetch-depth: 0 + - name: Create Zip + uses: thedoctor0/zip-release@0.7.1 + with: + type: 'zip' + filename: 'release.${{ needs.version.outputs.tag }}.zip' + exclusions: '*.git* .cmake-format.py' + - name: Create Tar + uses: thedoctor0/zip-release@0.7.1 + with: + type: 'tar' + filename: 'release.${{ needs.version.outputs.tag }}.tar.gz' + exclusions: '*.git* .cmake-format.py' - name: Create Release uses: ncipollo/release-action@v1 with: tag: ${{ needs.version.outputs.tag }} + artifacts: "release.${{ needs.version.outputs.tag }}.zip release.${{ needs.version.outputs.tag }}.tar.gz" generateReleaseNotes: true