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 1010 - master
1111 tags :
1212 - ' [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
1320
1421permissions :
1522 contents : write
9299 - run : rustup update stable
93100 - run : rustup target add ${{ matrix.target }}
94101
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-
101102 - uses : Swatinem/rust-cache@v2
102103 with :
103104 prefix-key : rust-${{ matrix.build }}
@@ -136,7 +137,7 @@ jobs:
136137
137138 - name : Get the version from the tag
138139 run : |
139- version=${{ github.ref_name }}
140+ version=${version:=${ { github.ref_name }}
140141 short="${version#*/}"
141142 echo $version; echo $short
142143 echo "VERSION=$version" >> $GITHUB_ENV
Original file line number Diff line number Diff line change @@ -221,6 +221,7 @@ mod tests {
221221 }
222222
223223 #[ test]
224+ #[ ignore] // run this one manually - not in CI
224225 fn can_run_unitd ( ) {
225226 let specific_path = std:: env:: var ( UNITD_PATH_ENV_KEY ) . map_err ( |error| Box :: new ( error) as Box < dyn stdError > ) ;
226227 let unitd_path = unitd_instance:: find_executable_path ( specific_path) ;
You can’t perform that action at this time.
0 commit comments