From fecafd9c83740f9410e3fe8cf822bb6bbf868e8c Mon Sep 17 00:00:00 2001 From: kotontrion <141950090+kotontrion@users.noreply.github.com> Date: Sat, 14 Oct 2023 14:54:45 +0200 Subject: [PATCH] add: node_modules to release (#125) --- .github/workflows/create_release.yaml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/create_release.yaml b/.github/workflows/create_release.yaml index 9b9e87d..c209d25 100644 --- a/.github/workflows/create_release.yaml +++ b/.github/workflows/create_release.yaml @@ -15,11 +15,21 @@ jobs: - uses: actions/checkout@v4 with: submodules: 'recursive' - - name: Create tar file + - name: Create ags tar file run: | cd .. tar -czf "ags-${{ github.ref_name }}.tar.gz" "ags" + - name: setup node + uses: actions/setup-node@v3 + with: + node-version: latest + - name: npm install + run: npm install + - name: create node tar file + run: tar -czf "node_modules-${{ github.ref_name }}.tar.gz" "node_modules" - name: Upload assets uses: softprops/action-gh-release@v1 with: - files: ../ags-${{ github.ref_name }}.tar.gz + files: | + ../ags-${{ github.ref_name }}.tar.gz + node_modules-${{ github.ref_name }}.tar.gz