summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornumToStr <vikasraj1911@gmail.com>2021-12-07 19:45:59 +0530
committernumToStr <vikasraj1911@gmail.com>2021-12-14 18:57:57 +0530
commit4f53539a656fefb9f48168a123e8773675ecf181 (patch)
treed0406cad6eea581c5b0598ee2f02ef10ba6446c6
parentab90988c46b8eaa0c291e6f9da6c9b71daad36cb (diff)
downloadlua-language-server-4f53539a656fefb9f48168a123e8773675ecf181.zip
feat: add support for platform specific artifact
-rw-r--r--.github/workflows/build.yml49
m---------3rd/bee.lua0
m---------3rd/lovr-api0
3 files changed, 19 insertions, 30 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 342b0632..8b7601f9 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -2,37 +2,26 @@ name: build
on: push
jobs:
compile:
- runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-18.04, macos-latest]
+ job:
+ - { os: windows-latest, target: windows }
+ - { os: ubuntu-18.04, target: linux }
+ - { os: macos-latest, target: macos }
+ runs-on: ${{ matrix.job.os }}
steps:
- - uses: actions/checkout@v1
- with:
- ref: refs/heads/master
- submodules : recursive
- - uses: actboy168/setup-luamake@master
- - run: luamake
- - uses: actions/upload-artifact@v2
- with:
- name: lua-language-server
- path: |
- changelog.md
- bin
- resource:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v1
- with:
- ref: refs/heads/master
- submodules : recursive
- - uses: actions/upload-artifact@v2
- with:
- name: lua-language-server
- path: |
- main.lua
- debugger.lua
- locale
- meta
- script
+ - uses: actions/checkout@v2
+ with:
+ ref: refs/heads/master
+ submodules: recursive
+
+ - uses: actboy168/setup-luamake@master
+
+ - name: Running `luamake`
+ run: luamake
+
+ - uses: actions/upload-artifact@v2
+ with:
+ name: lua-language-server-${{ matrix.job.target }}
+ path: bin
diff --git a/3rd/bee.lua b/3rd/bee.lua
-Subproject 9132c7ecb4a68c40d52a6d750308237bf054feb
+Subproject efa8dd41f60322f33df30ff47acb86256cc619a
diff --git a/3rd/lovr-api b/3rd/lovr-api
-Subproject 92d3742eb6c3f4999a0c575984c82a75652e2b7
+Subproject 58580f0f8ba3852fa7fe1b31a275e0d2a657ec3