-
Notifications
You must be signed in to change notification settings - Fork 3
54 lines (46 loc) · 1.31 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Release grabber
on:
pull_request:
types:
- opened
- synchronize
jobs:
build_linux:
runs-on: ubuntu-20.04
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: Install agent dependencies
working-directory: ./packages/grabber
run: npm ci
- name: Run agent build
working-directory: .
run: bash ./grabber_build.sh linux x64
- name: Create tar archive
working-directory: ./packages/grabber/build/
run: tar -czvf ./../webrtc_grabber_agent_linux_x64.tar.gz .
- uses: actions/upload-artifact@v4
with:
name: webrtc_grabber_agent_linux_x64.tar.gz
path: ./packages/grabber/build
retention-days: 7
build_windows:
runs-on: windows-2019
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: Install agent dependencies
working-directory: .\packages\grabber
run: npm ci
- name: Run agent build
working-directory: .
shell: cmd
run: |
grabber_build_win64.bat
- uses: actions/upload-artifact@v4
with:
name: webrtc_grabber_agent_win_x64
path: ./packages/grabber/build/
retention-days: 7