File tree Expand file tree Collapse file tree 2 files changed +49
-1
lines changed Expand file tree Collapse file tree 2 files changed +49
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Build ROHD devtool
2
+ on :
3
+ push :
4
+ branches :
5
+ - main
6
+
7
+ # Top-level default, no permissions
8
+ permissions : {}
9
+
10
+ jobs :
11
+ build-devtool :
12
+ name : Build Devtools
13
+ permissions :
14
+ contents : write
15
+ pull-requests : write
16
+ timeout-minutes : 30
17
+ runs-on : ubuntu-22.04
18
+ steps :
19
+ - uses : actions/checkout@v2
20
+
21
+ - name : Setup Flutter SDK
22
+ uses : flutter-actions/setup-flutter@v2
23
+ with :
24
+ channel : stable
25
+ version : 3.16.9
26
+
27
+ - name : Run Flutter Test
28
+ run : tool/gh_actions/devtool/run_devtool_test.sh
29
+
30
+ - name : Build Static Web
31
+ run : tool/gh_actions/devtool/build_web.sh
32
+
33
+ - name : Create artifact branch and commit
34
+ run : |
35
+ git config --global user.name "${GITHUB_ACTOR}"
36
+ git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
37
+ git fetch origin
38
+ git checkout -b artifacts
39
+ git pull origin main
40
+ git add .
41
+ git add -f extension/*
42
+ git commit -m "Add build artifacts"
43
+
44
+ - name : Push changes
45
+ uses : ad-m/github-push-action@master
46
+ with :
47
+ github_token : ${{ secrets.GITHUB_TOKEN }}
48
+ branch : artifacts
49
+ force : true
Original file line number Diff line number Diff line change @@ -112,4 +112,3 @@ jobs:
112
112
- name : Build Static Web
113
113
run : tool/gh_actions/devtool/build_web.sh
114
114
115
-
You can’t perform that action at this time.
0 commit comments