File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
tools/unitctl/unit-client-rs/src Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 10
10
- master
11
11
tags :
12
12
- ' [0-9]+.[0-9]+.[0-9]+'
13
+ - ' [0-9]+.[0-9]+.[0-9]+-[0-9]+'
14
+ workflow_dispatch :
15
+ inputs :
16
+ version :
17
+ description : " Semver tag"
18
+ type : environment
19
+ required : true
13
20
14
21
permissions :
15
22
contents : write
92
99
- run : rustup update stable
93
100
- run : rustup target add ${{ matrix.target }}
94
101
95
- - name : Install cross
96
- if : matrix.target == 'aarch64-unknown-linux-gnu'
97
- uses : taiki-e/install-action@v2
98
- with :
99
- tool : cross
100
-
101
102
- uses : Swatinem/rust-cache@v2
102
103
with :
103
104
prefix-key : rust-${{ matrix.build }}
@@ -136,7 +137,7 @@ jobs:
136
137
137
138
- name : Get the version from the tag
138
139
run : |
139
- version=${{ github.ref_name }}
140
+ version=${version:=${ { github.ref_name }}
140
141
short="${version#*/}"
141
142
echo $version; echo $short
142
143
echo "VERSION=$version" >> $GITHUB_ENV
Original file line number Diff line number Diff line change @@ -221,6 +221,7 @@ mod tests {
221
221
}
222
222
223
223
#[ test]
224
+ #[ ignore] // run this one manually - not in CI
224
225
fn can_run_unitd ( ) {
225
226
let specific_path = std:: env:: var ( UNITD_PATH_ENV_KEY ) . map_err ( |error| Box :: new ( error) as Box < dyn stdError > ) ;
226
227
let unitd_path = unitd_instance:: find_executable_path ( specific_path) ;
You can’t perform that action at this time.
0 commit comments