-
Notifications
You must be signed in to change notification settings - Fork 45
52 lines (48 loc) · 1.93 KB
/
update-dependencies.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
name: Update dependencies
on: [repository_dispatch]
jobs:
update-webex-component-adapter-interfaces:
runs-on: ubuntu-latest
if: github.event.action == 'component-adapter-interfaces:version-changed'
steps:
- name: checkout
uses: actions/checkout@v2
- run: |
npm install @webex/component-adapter-interfaces
if [ -n "$(git status --porcelain)" ]; then
git config user.name "webex-components-publisher"
git config user.email "[email protected]"
git add .
git commit -m "build(package): update component adapter interfaces to v${{ github.event.client_payload.version }}"
git push origin master
fi
update-webex-components:
runs-on: ubuntu-latest
if: github.event.action == 'components:version-changed'
steps:
- name: checkout
uses: actions/checkout@v2
- run: |
npm install @webex/components
if [ -n "$(git status --porcelain)" ]; then
git config user.name "webex-components-publisher"
git config user.email "[email protected]"
git add .
git commit -m "build(package): update webex components to v${{ github.event.client_payload.version }}"
git push origin master
fi
update-webex-sdk-component-adapter:
runs-on: ubuntu-latest
if: github.event.action == 'sdk-component-adapter:version-changed'
steps:
- name: checkout
uses: actions/checkout@v2
- run: |
npm install @webex/sdk-component-adapter
if [ -n "$(git status --porcelain)" ]; then
git config user.name "webex-components-publisher"
git config user.email "[email protected]"
git add .
git commit -m "build(package): update webex sdk-component-adapter to v${{ github.event.client_payload.version }}"
git push origin master
fi