-
Notifications
You must be signed in to change notification settings - Fork 3
49 lines (39 loc) · 1.11 KB
/
test-build.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
name: Build and Publish Sample Project
on:
push:
branches:
- main
paths:
- '.github/workflows/test-build.yml'
- 'Lync/**'
- 'Sample Project/**'
jobs:
test-build:
runs-on: ubuntu-latest
steps:
- name: Download repository
uses: actions/checkout@master
- name: Extract Sample Project
run: |
mv Lync/ ../LyncBinaries/
mv "Sample Project/" ../temp/
rm -r *
mv -v ../temp/* ./
- name: Download Aftman, Lune, rbxcloud
uses: ok-nick/setup-aftman@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Install Node
uses: actions/setup-node@main
- name: Install pkg
run: |
npm install -g pkg
- name: Compile Lync
run: |
cd ../LyncBinaries
pkg package.json --no-bytecode --public-packages "*" --public
- name: Build
run: |
../LyncBinaries/lync-linux-x64 build
- name: Publish
run: rbxcloud experience publish -f "BuildScripts/Build/Build.rbxl" -p ${{ secrets.PLACE_ID }} -u ${{ secrets.EXPERIENCE_ID }} -t published -a ${{ secrets.API_KEY }}