|
3 | 3 | push:
|
4 | 4 | branches:
|
5 | 5 | - main
|
| 6 | + - dev |
6 | 7 | pull_request:
|
7 | 8 | paths:
|
8 | 9 | - setup.sh
|
@@ -43,85 +44,95 @@ jobs:
|
43 | 44 | shell: bash
|
44 | 45 | - run: flutter --version
|
45 | 46 | shell: bash
|
46 |
| - test_version: |
| 47 | + test_print_output: |
47 | 48 | runs-on: macos-latest
|
48 | 49 | steps:
|
49 | 50 | - uses: actions/checkout@v3
|
50 |
| - - run: ./setup.sh -t -p version | grep -x 'stable:any:x64|stable:3.0.5:x64' |
| 51 | + - run: ./setup.sh -t -p | grep 'stable' |
51 | 52 | shell: bash
|
52 |
| - - run: ./setup.sh -t -p version stable | grep -x 'stable:any:x64|stable:3.0.5:x64' |
| 53 | + - run: ./setup.sh -t -p | grep '3.0.5' |
53 | 54 | shell: bash
|
54 |
| - - run: ./setup.sh -t -p version beta | grep -x 'beta:any:x64|beta:3.1.0-9.0.pre:x64' |
| 55 | + - run: ./setup.sh -t -p | grep 'x64' |
55 | 56 | shell: bash
|
56 |
| - - run: ./setup.sh -t -p version master | grep -x 'master:master:x64|master:master:x64' |
| 57 | + - run: ./setup.sh -t -p stable | grep 'stable' |
57 | 58 | shell: bash
|
58 |
| - - run: ./setup.sh -t -p version -n 2 stable | grep -x 'stable:2:x64|stable:2.10.5:x64' |
| 59 | + - run: ./setup.sh -t -p beta | grep 'beta' |
59 | 60 | shell: bash
|
60 |
| - - run: ./setup.sh -t -p version -n 2 beta | grep -x 'beta:2:x64|beta:2.13.0-0.4.pre:x64' |
| 61 | + - run: ./setup.sh -t -p beta | grep '3.1.0-9.0.pre' |
61 | 62 | shell: bash
|
62 |
| - - run: ./setup.sh -t -p version -n 2 any | grep -x 'any:2:x64|beta:2.13.0-0.4.pre:x64' |
| 63 | + - run: ./setup.sh -t -p master | grep 'master' |
63 | 64 | shell: bash
|
64 |
| - - run: ./setup.sh -t -p version -n 3 any | grep -x 'any:3:x64|stable:3.0.5:x64' |
| 65 | + - run: ./setup.sh -t -p -n 2 stable | grep '2.10.5' |
65 | 66 | shell: bash
|
66 |
| - - run: ./setup.sh -t -p version -n 3 -a arm64 any | grep -x 'any:3:arm64|stable:3.0.5:arm64' |
| 67 | + - run: ./setup.sh -t -p -n 2 beta | grep '2.13.0-0.4.pre' |
67 | 68 | shell: bash
|
68 |
| - - run: ./setup.sh -t -p version -n any -a arm64 stable | grep -x 'stable:any:arm64|stable:3.0.5:arm64' |
| 69 | + - run: ./setup.sh -t -p -n 2 any | grep 'beta' |
69 | 70 | shell: bash
|
70 |
| - - run: ./setup.sh -t -p version -n 1 stable | grep -x 'stable:1:x64|stable:1.22.6:x64' |
| 71 | + - run: ./setup.sh -t -p -n 2 any | grep '2.13.0-0.4.pre' |
71 | 72 | shell: bash
|
72 |
| - - run: ./setup.sh -t -p version -n v1 stable | grep -x 'stable:v1:x64|stable:v1.12.13+hotfix.9:x64' |
| 73 | + - run: ./setup.sh -t -p -n 3 any | grep 'stable' |
73 | 74 | shell: bash
|
74 |
| - - run: ./setup.sh -t -p version -n 0 any | grep -x 'any:0:x64|beta:v0.11.13:x64' |
| 75 | + - run: ./setup.sh -t -p -n 3 any | grep '3.0.5' |
75 | 76 | shell: bash
|
76 |
| - - run: ./setup.sh -t -p version -n v0 any | grep -x 'any:v0:x64|beta:v0.11.13:x64' |
| 77 | + - run: ./setup.sh -t -p -n 3 -a arm64 any | grep 'arm64' |
77 | 78 | shell: bash
|
78 |
| - test_cache_key: |
79 |
| - runs-on: macos-latest |
80 |
| - steps: |
81 |
| - - uses: actions/checkout@v3 |
82 |
| - - run: ./setup.sh -t -p cache-key | grep -x 'flutter-macos-stable-3.0.5-x64-f1875d570e39de09040c8f79aa13cc56baab8db1' |
| 79 | + - run: ./setup.sh -t -p -n any -a arm64 stable | grep 'stable' |
83 | 80 | shell: bash
|
84 |
| - - run: ./setup.sh -t -p cache-key stable | grep -x 'flutter-macos-stable-3.0.5-x64-f1875d570e39de09040c8f79aa13cc56baab8db1' |
| 81 | + - run: ./setup.sh -t -p -n any -a arm64 stable | grep '3.0.5' |
85 | 82 | shell: bash
|
86 |
| - - run: ./setup.sh -t -p cache-key beta | grep -x 'flutter-macos-beta-3.1.0-9.0.pre-x64-f28e570c8cb12a004fae2d796d0d9cd46603bde9' |
| 83 | + - run: ./setup.sh -t -p -n any -a arm64 stable | grep 'arm64' |
87 | 84 | shell: bash
|
88 |
| - - run: ./setup.sh -t -p cache-key master | grep -x 'flutter-macos-master-master-x64-master' |
| 85 | + - run: ./setup.sh -t -p -n 1 stable | grep '1.22.6' |
89 | 86 | shell: bash
|
90 |
| - - run: ./setup.sh -t -p cache-key -n 2 stable | grep -x 'flutter-macos-stable-2.10.5-x64-5464c5bac742001448fe4fc0597be939379f88ea' |
| 87 | + - run: ./setup.sh -t -p -n v1 stable | grep 'v1.12.13+hotfix.9' |
91 | 88 | shell: bash
|
92 |
| - - run: ./setup.sh -t -p cache-key -n 2 beta | grep -x 'flutter-macos-beta-2.13.0-0.4.pre-x64-25caf1461b8f643092a9f6f5b224453b5c057d10' |
| 89 | + - run: ./setup.sh -t -p -n 0 any | grep 'beta' |
93 | 90 | shell: bash
|
94 |
| - - run: ./setup.sh -t -p cache-key -n 2 any | grep -x 'flutter-macos-beta-2.13.0-0.4.pre-x64-25caf1461b8f643092a9f6f5b224453b5c057d10' |
| 91 | + - run: ./setup.sh -t -p -n 0 any | grep 'v0.11.13' |
95 | 92 | shell: bash
|
96 |
| - - run: ./setup.sh -t -p cache-key -n 3 any | grep -x 'flutter-macos-stable-3.0.5-x64-f1875d570e39de09040c8f79aa13cc56baab8db1' |
| 93 | + - run: ./setup.sh -t -p -n v0 any | grep 'beta' |
97 | 94 | shell: bash
|
98 |
| - - run: ./setup.sh -t -p cache-key -n 3 -a arm64 any | grep -x 'flutter-macos-stable-3.0.5-arm64-f1875d570e39de09040c8f79aa13cc56baab8db1' |
| 95 | + - run: ./setup.sh -t -p -n v0 any | grep 'v0.11.13' |
99 | 96 | shell: bash
|
100 |
| - - run: ./setup.sh -t -p cache-key -n any -a arm64 stable | grep -x 'flutter-macos-stable-3.0.5-arm64-f1875d570e39de09040c8f79aa13cc56baab8db1' |
| 97 | + - run: ./setup.sh -t -p | grep 'flutter-macos-stable-3.0.5-x64-f1875d570e39de09040c8f79aa13cc56baab8db1' |
101 | 98 | shell: bash
|
102 |
| - - run: ./setup.sh -t -p cache-key -n 1 stable | grep -x 'flutter-macos-stable-1.22.6-x64-9b2d32b605630f28625709ebd9d78ab3016b2bf6' |
| 99 | + - run: ./setup.sh -t -p stable | grep 'flutter-macos-stable-3.0.5-x64-f1875d570e39de09040c8f79aa13cc56baab8db1' |
103 | 100 | shell: bash
|
104 |
| - - run: ./setup.sh -t -p cache-key -n v1 stable | grep -x 'flutter-macos-stable-v1.12.13+hotfix.9-x64-f139b11009aeb8ed2a3a3aa8b0066e482709dde3' |
| 101 | + - run: ./setup.sh -t -p beta | grep 'flutter-macos-beta-3.1.0-9.0.pre-x64-f28e570c8cb12a004fae2d796d0d9cd46603bde9' |
105 | 102 | shell: bash
|
106 |
| - - run: ./setup.sh -t -p cache-key -n 0 any | grep -x 'flutter-macos-beta-v0.11.13-x64-58c8489fcdb4e4ef6c010117584c9b23d15221aa' |
| 103 | + - run: ./setup.sh -t -p master | grep 'flutter-macos-master-master-x64-master' |
107 | 104 | shell: bash
|
108 |
| - - run: ./setup.sh -t -p cache-key -n v0 any | grep -x 'flutter-macos-beta-v0.11.13-x64-58c8489fcdb4e4ef6c010117584c9b23d15221aa' |
| 105 | + - run: ./setup.sh -t -p -n 2 stable | grep 'flutter-macos-stable-2.10.5-x64-5464c5bac742001448fe4fc0597be939379f88ea' |
109 | 106 | shell: bash
|
110 |
| - - run: ./setup.sh -t -p cache-key -k 'custom-:channel:-:version:-:hash:' | grep -x 'custom-stable-3.0.5-f1875d570e39de09040c8f79aa13cc56baab8db1' |
| 107 | + - run: ./setup.sh -t -p -n 2 beta | grep 'flutter-macos-beta-2.13.0-0.4.pre-x64-25caf1461b8f643092a9f6f5b224453b5c057d10' |
111 | 108 | shell: bash
|
112 |
| - - run: ./setup.sh -t -p cache-key -k 'custom-:channel:-:version:-:sha256:' | grep -x 'custom-stable-3.0.5-e79a04dcfd1b583e5831433fc200800ba0d1e9fe4567cb661479bd2542d4c685' |
| 109 | + - run: ./setup.sh -t -p -n 2 any | grep 'flutter-macos-beta-2.13.0-0.4.pre-x64-25caf1461b8f643092a9f6f5b224453b5c057d10' |
113 | 110 | shell: bash
|
114 |
| - test_cache_path: |
115 |
| - runs-on: ubuntu-latest |
116 |
| - steps: |
117 |
| - - uses: actions/checkout@v3 |
118 |
| - - run: ./setup.sh -t -p cache-path | grep -x '/home/runner/work/_temp/flutter/stable-3.0.5-x64' |
| 111 | + - run: ./setup.sh -t -p -n 3 any | grep 'flutter-macos-stable-3.0.5-x64-f1875d570e39de09040c8f79aa13cc56baab8db1' |
| 112 | + shell: bash |
| 113 | + - run: ./setup.sh -t -p -n 3 -a arm64 any | grep 'flutter-macos-stable-3.0.5-arm64-f1875d570e39de09040c8f79aa13cc56baab8db1' |
| 114 | + shell: bash |
| 115 | + - run: ./setup.sh -t -p -n any -a arm64 stable | grep 'flutter-macos-stable-3.0.5-arm64-f1875d570e39de09040c8f79aa13cc56baab8db1' |
| 116 | + shell: bash |
| 117 | + - run: ./setup.sh -t -p -n 1 stable | grep 'flutter-macos-stable-1.22.6-x64-9b2d32b605630f28625709ebd9d78ab3016b2bf6' |
| 118 | + shell: bash |
| 119 | + - run: ./setup.sh -t -p -n v1 stable | grep 'flutter-macos-stable-v1.12.13+hotfix.9-x64-f139b11009aeb8ed2a3a3aa8b0066e482709dde3' |
| 120 | + shell: bash |
| 121 | + - run: ./setup.sh -t -p -n 0 any | grep 'flutter-macos-beta-v0.11.13-x64-58c8489fcdb4e4ef6c010117584c9b23d15221aa' |
| 122 | + shell: bash |
| 123 | + - run: ./setup.sh -t -p -n v0 any | grep 'flutter-macos-beta-v0.11.13-x64-58c8489fcdb4e4ef6c010117584c9b23d15221aa' |
| 124 | + shell: bash |
| 125 | + - run: ./setup.sh -t -p | grep '/Users/runner/work/_temp/flutter/stable-3.0.5-x64' |
| 126 | + shell: bash |
| 127 | + - run: ./setup.sh -t -p stable | grep '/Users/runner/work/_temp/flutter/stable-3.0.5-x64' |
| 128 | + shell: bash |
| 129 | + - run: ./setup.sh -t -p beta | grep '/Users/runner/work/_temp/flutter/beta-3.1.0-9.0.pre-x64' |
119 | 130 | shell: bash
|
120 |
| - - run: ./setup.sh -t -p cache-path stable | grep -x '/home/runner/work/_temp/flutter/stable-3.0.5-x64' |
| 131 | + - run: ./setup.sh -t -p master | grep '/Users/runner/work/_temp/flutter/master-master-x64' |
121 | 132 | shell: bash
|
122 |
| - - run: ./setup.sh -t -p cache-path beta | grep -x '/home/runner/work/_temp/flutter/beta-3.1.0-9.0.pre-x64' |
| 133 | + - run: ./setup.sh -t -p -k 'custom-:channel:-:version:-:hash:' | grep 'custom-stable-3.0.5-f1875d570e39de09040c8f79aa13cc56baab8db1' |
123 | 134 | shell: bash
|
124 |
| - - run: ./setup.sh -t -p cache-path master | grep -x '/home/runner/work/_temp/flutter/master-master-x64' |
| 135 | + - run: ./setup.sh -t -p -k 'custom-:channel:-:version:-:sha256:' | grep 'custom-stable-3.0.5-e79a04dcfd1b583e5831433fc200800ba0d1e9fe4567cb661479bd2542d4c685' |
125 | 136 | shell: bash
|
126 |
| - - run: ./setup.sh -t -p cache-path -c '/tmp/flutter/:channel:-:version:-:hash:' | grep -x '/tmp/flutter/stable-3.0.5-f1875d570e39de09040c8f79aa13cc56baab8db1' |
| 137 | + - run: ./setup.sh -t -p -c '/tmp/flutter/:channel:-:version:-:hash:' | grep '/tmp/flutter/stable-3.0.5-f1875d570e39de09040c8f79aa13cc56baab8db1' |
127 | 138 | shell: bash
|
0 commit comments