File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 6
6
release_name :
7
7
description : " release page name"
8
8
required : true
9
+ cargo_update :
10
+ description : " update cargo"
11
+ required : false
12
+ default : " false"
9
13
push :
10
14
tags :
11
15
- " [0-9]+.[0-9]+.[0-9]+*"
46
50
run : |
47
51
git config --global --add safe.directory $(pwd)
48
52
53
+ - name : Cargo update
54
+ if : ${{ github.event.inputs.cargo_update == 'true' }}
55
+ run : |
56
+ cargo update
57
+
49
58
- name : Build
50
59
run : |
51
60
export LIBTORCH=$(pwd)/libtorch
@@ -102,6 +111,11 @@ jobs:
102
111
run : |
103
112
git config --global --add safe.directory $(pwd)
104
113
114
+ - name : Cargo update
115
+ if : ${{ github.event.inputs.cargo_update == 'true' }}
116
+ run : |
117
+ cargo update
118
+
105
119
- name : Build
106
120
run : |
107
121
export LIBTORCH=$(pwd)/libtorch
@@ -143,6 +157,11 @@ jobs:
143
157
wget https://download.pytorch.org/libtorch/cpu/libtorch-macos-arm64-2.4.0.zip
144
158
unzip libtorch-macos-arm64-2.4.0.zip
145
159
160
+ - name : Cargo update
161
+ if : ${{ github.event.inputs.cargo_update == 'true' }}
162
+ run : |
163
+ cargo update
164
+
146
165
- name : Build
147
166
run : |
148
167
export LIBTORCH=$(pwd)/libtorch
You can’t perform that action at this time.
0 commit comments