File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Check Symbols
2+
3+ on :
4+ workflow_run :
5+ workflows : ["Build"]
6+ types : [completed]
7+
8+ jobs :
9+ check :
10+ if : ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'pull_request' }}
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Dump GitHub context
15+ env :
16+ GITHUB_CONTEXT : ${{ toJSON(github) }}
17+ run : echo "$GITHUB_CONTEXT"
18+ - name : Dump payload
19+ uses : actions/github-script@v5
20+ with :
21+ script : |
22+ console.log(JSON.stringify(context.payload))
23+ - uses : actions/checkout@v2
24+ - uses : actions/checkout@v2
25+ with :
26+ repository : flutter-tizen/tizen_allowlist
27+ token : ${{ secrets.MY_PAT }}
28+ path : tizen_allowlist
29+ - uses : TizenAPI/tizenfx-build-actions/download-workflow-artifacts@master
30+ with :
31+ token : ${{ secrets.GITHUB_TOKEN }}
32+ run-id : ${{ github.event.workflow_run.id }}
33+ path : artifacts
34+ unzip : false
35+ - name : check symbols
36+ env :
37+ ALLOWLIST : tizen_allowlist/4.0.0_native_whitelist_wearable_v12.txt
38+ run : |
39+ for f in $(ls -1 artifacts/*.zip); do
40+ unzip -d artifacts/${f%.*} artifacts/$f
41+ done
42+ find artifacts/ -name "libflutter_engine.so" -o -name "libflutter_tizen_wearable.so" |
43+ xargs ci/docker/tizen/tools/check-symbol.py --allowlist=$ALLOWLIST
44+ - name : report success
45+ uses : actions/github-script@v5
46+ with :
47+ script : |
48+ console.log(JSON.stringify(context.payload))
You can’t perform that action at this time.
0 commit comments