diff options
author | numToStr <vikasraj1911@gmail.com> | 2021-12-14 16:31:48 +0530 |
---|---|---|
committer | numToStr <vikasraj1911@gmail.com> | 2021-12-14 19:09:19 +0530 |
commit | ed386bd307f90d8b630575e188acc245c5d8c7c6 (patch) | |
tree | 8e3906d26456e02ed2b62337541ae90db32f3e14 /.github | |
parent | 53e6e99cbf181a4725d4b0c14dbebc08ef287005 (diff) | |
download | lua-language-server-ed386bd307f90d8b630575e188acc245c5d8c7c6.zip |
feat: upload runtime files in workflow artifact
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8a0d3efd..59349a2b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -68,7 +68,15 @@ jobs: - uses: actions/upload-artifact@v2 with: name: ${{ steps.vars.outputs.PKG_BASENAME }} - path: ${{ env.BIN_DIR }} + path: | + ${{ env.BIN_DIR }} + main.lua + debugger.lua + LICENSE + changelog.md + locale + meta + script - name: Package tarballs if: startsWith(github.ref, 'refs/tags/') @@ -81,7 +89,7 @@ jobs: mkdir -p ${STAGING} # Copying binary and runtime files to staging area - cp -r main.lua debugger.lua locale meta script ${{ env.BIN_DIR }} ${STAGING} + cp -r main.lua debugger.lua LICENSE changelog.md locale meta script ${{ env.BIN_DIR }} ${STAGING} # Creating release assets pushd "${STAGING}/" >/dev/null @@ -95,7 +103,7 @@ jobs: # Packaging submodules for homebrew distribution - name: Package submodules id: submodules - if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.job.target == 'macos' }} + if: ${{ startsWith(github.ref, 'refs/tags/') && matrix.job.target == 'darwin' }} run: | STAGING=${{ steps.vars.outputs.PKG_STAGING }} PKG_SUBMOD_NAME="${{ env.PROJECT }}-${{ steps.vars.outputs.PKG_VERSION }}-submodules.zip" |