Skip to content

Commit 4f53539

Browse files
committed
feat: add support for platform specific artifact
1 parent ab90988 commit 4f53539

File tree

3 files changed

+21
-32
lines changed

3 files changed

+21
-32
lines changed

.github/workflows/build.yml

Lines changed: 19 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,26 @@ name: build
22
on: push
33
jobs:
44
compile:
5-
runs-on: ${{ matrix.os }}
65
strategy:
76
fail-fast: false
87
matrix:
9-
os: [windows-latest, ubuntu-18.04, macos-latest]
8+
job:
9+
- { os: windows-latest, target: windows }
10+
- { os: ubuntu-18.04, target: linux }
11+
- { os: macos-latest, target: macos }
12+
runs-on: ${{ matrix.job.os }}
1013
steps:
11-
- uses: actions/checkout@v1
12-
with:
13-
ref: refs/heads/master
14-
submodules : recursive
15-
- uses: actboy168/setup-luamake@master
16-
- run: luamake
17-
- uses: actions/upload-artifact@v2
18-
with:
19-
name: lua-language-server
20-
path: |
21-
changelog.md
22-
bin
23-
resource:
24-
runs-on: ubuntu-latest
25-
steps:
26-
- uses: actions/checkout@v1
27-
with:
28-
ref: refs/heads/master
29-
submodules : recursive
30-
- uses: actions/upload-artifact@v2
31-
with:
32-
name: lua-language-server
33-
path: |
34-
main.lua
35-
debugger.lua
36-
locale
37-
meta
38-
script
14+
- uses: actions/checkout@v2
15+
with:
16+
ref: refs/heads/master
17+
submodules: recursive
18+
19+
- uses: actboy168/setup-luamake@master
20+
21+
- name: Running `luamake`
22+
run: luamake
23+
24+
- uses: actions/upload-artifact@v2
25+
with:
26+
name: lua-language-server-${{ matrix.job.target }}
27+
path: bin

3rd/bee.lua

3rd/lovr-api

0 commit comments

Comments
 (0)