-
Notifications
You must be signed in to change notification settings - Fork 162
43 lines (35 loc) · 896 Bytes
/
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
name: Create Calling Sample Release
on:
release:
types: [created]
name: Release
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions: read-all
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup Node 20
uses: actions/setup-node@v2
with:
node-version: '20'
- name: Build
shell: bash
run: |
release_name=Group-Calling
unset CI
# Build everything
npm run setup
npm run build
npm run package
7z a -tzip -r "group-calling.zip" ./Calling/dist/*
# Delete output directory
# rm -r "./Calling/dist"
- name: Publish
uses: softprops/action-gh-release@v1
with:
files: "group-calling.zip"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}