7
7
required : true
8
8
default : ' false'
9
9
push :
10
- branches :
10
+ branches : main
11
11
pull_request :
12
12
defaults :
13
13
run :
21
21
strategy :
22
22
fail-fast : false
23
23
matrix :
24
- node_version : [14 .x]
24
+ node_version : [16 .x]
25
25
app_type :
26
26
- WebRtcDemo
27
27
include :
@@ -30,19 +30,20 @@ jobs:
30
30
SCRIPT_DIR : ./test/scripts
31
31
steps :
32
32
- name : ' SETUP: Checkout'
33
- uses : actions/checkout@v2
33
+ uses : actions/checkout@v3
34
34
- name : ' SETUP: History'
35
35
run : git --no-pager log -n 10 --graph --pretty='%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue) <%an>%Creset' --abbrev-commit
36
36
- name : ' SETUP: Node'
37
- uses : actions/setup-node@v2.1.4
37
+ uses : actions/setup-node@v3
38
38
with :
39
39
node-version : ${{ matrix.node_version }}
40
40
- name : ' SETUP: Java'
41
- uses : actions/setup-java@v1
41
+ uses : actions/setup-java@v3
42
42
with :
43
43
java-version : ' 8.x'
44
+ distribution : ' temurin'
44
45
- name : ' SETUP: Cache Maven archetypes'
45
- uses : actions/cache@v1
46
+ uses : actions/cache@v3
46
47
with :
47
48
path : ~/.m2/repository
48
49
key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
82
83
KITE_HOME : ${{ runner.workspace }}/KITE
83
84
KITE_SCRIPT_DIR : ${{ runner.workspace }}/KITE/scripts/mac
84
85
- name : ' POST-TEST: Upload Artifacts'
85
- uses : actions/upload-artifact@v2
86
+ uses : actions/upload-artifact@v3
86
87
if : ${{ always() }}
87
88
with :
88
89
name : kite-artifacts-${{ matrix.app_type }}
95
96
!${{ runner.workspace }}/KITE/KITE-Example-Test/js/node_modules
96
97
- name : ' POST-TEST: Update Github Pages with Kite Report'
97
98
if : github.ref == 'refs/heads/main'
98
- uses : JamesIves/github-pages-deploy-action@3.7.1
99
+ uses : JamesIves/github-pages-deploy-action@v4
99
100
with :
100
101
GITHUB_TOKEN : ${{ secrets.RUDDELL_GITHUB_TOKEN }}
101
102
BRANCH : gh-pages # The branch the action should deploy to.
0 commit comments