From 95e16730cf1757fe876a5c91fdc629b46b3461be Mon Sep 17 00:00:00 2001 From: SomesH S Date: Sat, 3 Dec 2022 09:18:17 +0530 Subject: [PATCH] github-release.yml - add `deploy-package` step --- .github/workflows/github-release.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/github-release.yml b/.github/workflows/github-release.yml index 34e39b3..f0bbb84 100644 --- a/.github/workflows/github-release.yml +++ b/.github/workflows/github-release.yml @@ -19,3 +19,26 @@ jobs: release_name: Release ${{ github.ref }} draft: false prerelease: false + + deploy-package: + runs-on: ubuntu-latest + needs: [create-release] + steps: + - name: Checkout Repo + id: checkout_repo + uses: actions/checkout@v3 + with: + submodules: recursive + + - name: Create Package + id: create_package + run: | + rm -rvf ./deploy/.git* + tar -cvf deploy.tar deploy + + - name: Upload Package + id: upload_package + uses: softprops/action-gh-release@v1 + with: + files: | + deploy.tar