18
18
runs-on : ubuntu-latest
19
19
steps :
20
20
- uses : actions/checkout@v2
21
- - uses : actions/setup-python@v2.1.4
21
+ - uses : actions/setup-python@v2
22
22
with :
23
23
python-version : 3.8
24
24
- uses : actions/cache@v2
47
47
run : |
48
48
bazelisk build //larq_compute_engine/tflite/benchmark:lce_benchmark_model --config=android_arm64 -c opt --copt=-O3
49
49
cp bazel-bin/larq_compute_engine/tflite/benchmark/lce_benchmark_model benchmark-binaries/lce_benchmark_model_android_arm64
50
- - uses : actions/upload-artifact@v2.2.1
50
+ - uses : actions/upload-artifact@v2
51
51
with :
52
52
name : Benchmark-Binaries
53
53
path : benchmark-binaries
@@ -57,38 +57,38 @@ jobs:
57
57
env :
58
58
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
59
59
with :
60
- upload_url : ${{ github.event.release.upload_url }}
61
- asset_path : benchmark-binaries/lce_benchmark_model_aarch64
62
- asset_name : lce_benchmark_model_aarch64
63
- asset_content_type : application/octet-stream
60
+ upload_url : ${{ github.event.release.upload_url }}
61
+ asset_path : benchmark-binaries/lce_benchmark_model_aarch64
62
+ asset_name : lce_benchmark_model_aarch64
63
+ asset_content_type : application/octet-stream
64
64
- name : Upload Release Asset AArch32
65
65
if : github.event_name == 'release'
66
66
uses : actions/upload-release-asset@v1
67
67
env :
68
68
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
69
69
with :
70
- upload_url : ${{ github.event.release.upload_url }}
71
- asset_path : benchmark-binaries/lce_benchmark_model_aarch32
72
- asset_name : lce_benchmark_model_aarch32
73
- asset_content_type : application/octet-stream
70
+ upload_url : ${{ github.event.release.upload_url }}
71
+ asset_path : benchmark-binaries/lce_benchmark_model_aarch32
72
+ asset_name : lce_benchmark_model_aarch32
73
+ asset_content_type : application/octet-stream
74
74
- name : Upload Release Asset Android
75
75
if : github.event_name == 'release'
76
76
uses : actions/upload-release-asset@v1
77
77
env :
78
78
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
79
79
with :
80
- upload_url : ${{ github.event.release.upload_url }}
81
- asset_path : benchmark-binaries/lce_benchmark_model_android_arm64
82
- asset_name : lce_benchmark_model_android_arm64
83
- asset_content_type : application/octet-stream
80
+ upload_url : ${{ github.event.release.upload_url }}
81
+ asset_path : benchmark-binaries/lce_benchmark_model_android_arm64
82
+ asset_name : lce_benchmark_model_android_arm64
83
+ asset_content_type : application/octet-stream
84
84
85
85
android-aar :
86
86
runs-on : ubuntu-latest
87
87
steps :
88
88
- uses : actions/checkout@v2
89
89
with :
90
90
fetch-depth : 0
91
- - uses : actions/setup-python@v2.1.4
91
+ - uses : actions/setup-python@v2
92
92
with :
93
93
python-version : 3.8
94
94
- uses : actions/cache@v2
@@ -106,7 +106,7 @@ jobs:
106
106
run : ./third_party/install_android.sh
107
107
- name : Build LCE AAR
108
108
run : BUILDER=bazelisk ./larq_compute_engine/tflite/java/build_lce_aar.sh
109
- - uses : actions/upload-artifact@v2.2.1
109
+ - uses : actions/upload-artifact@v2
110
110
with :
111
111
name : Android-AAR
112
112
path : lce-lite-*.aar
@@ -119,7 +119,7 @@ jobs:
119
119
python-version : [3.6, 3.7, 3.8]
120
120
steps :
121
121
- uses : actions/checkout@v2
122
- - uses : actions/setup-python@v2.1.4
122
+ - uses : actions/setup-python@v2
123
123
with :
124
124
python-version : ${{ matrix.python-version }}
125
125
- name : Build macOS wheels
@@ -149,7 +149,7 @@ jobs:
149
149
python-version : [3.6, 3.7, 3.8]
150
150
steps :
151
151
- uses : actions/checkout@v2
152
- - uses : actions/setup-python@v2.1.4
152
+ - uses : actions/setup-python@v2
153
153
with :
154
154
python-version : ${{ matrix.python-version }}
155
155
- name : Build manylinux2010 wheels
@@ -166,7 +166,7 @@ jobs:
166
166
done
167
167
168
168
ls -al wheelhouse/
169
- - uses : actions/upload-artifact@v2.2.1
169
+ - uses : actions/upload-artifact@v2
170
170
with :
171
171
name : ${{ runner.os }}-wheels
172
172
path : wheelhouse
@@ -179,7 +179,7 @@ jobs:
179
179
python-version : [3.6, 3.7, 3.8]
180
180
steps :
181
181
- uses : actions/checkout@v2
182
- - uses : actions/setup-python@v2.1.4
182
+ - uses : actions/setup-python@v2
183
183
with :
184
184
python-version : ${{ matrix.python-version }}
185
185
- name : Build Windows wheels
@@ -196,7 +196,7 @@ jobs:
196
196
bazel-bin/build_pip_pkg wheelhouse
197
197
198
198
shell : bash
199
- - uses : actions/upload-artifact@v2.2.1
199
+ - uses : actions/upload-artifact@v2
200
200
with :
201
201
name : ${{ runner.os }}-wheels
202
202
path : wheelhouse
0 commit comments