File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8484 with :
8585 fetch-depth : 1
8686
87- - name : Set the version
88- shell : bash
89- if : env.BIN_VERSION == ''
90- run : |
91- echo "BIN_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
92- # 带v的版本号
93- # echo "BIN_VERSION=$GITHUB_REF_NAME" >> $GITHUB_ENV
94- echo "version is: ${{ env.BIN_VERSION }}"
95-
96- # - name: Install dependencies
97- # if: matrix.target == 'x86_64-unknown-linux-musl'
98- # run: |
99- # sudo apt update && sudo apt install musl-tools -y
100- # sudo apt-get update && sudo apt-get install -y llvm clang libclang-dev
101-
10287 # nightly-2023-12-28 = nightly1.75.0
10388 - name : Install Rust
10489 if : matrix.target == 'x86_64-win7-windows-msvc'
@@ -165,7 +150,6 @@ jobs:
165150
166151 [build.env]
167152 passthrough = [
168- "BIN_VERSION",
169153 "AWS_LC_SYS_CMAKE_BUILDER=1"
170154 ]
171155 EOF
@@ -186,7 +170,6 @@ jobs:
186170
187171 [build.env]
188172 passthrough = [
189- "BIN_VERSION",
190173 "AWS_LC_SYS_CMAKE_BUILDER=1"
191174 ]
192175 EOF
@@ -226,8 +209,6 @@ jobs:
226209 run : |
227210 $CARGO build --bin np_client $CARGO_BUILD_ARG --locked --target ${{ matrix.target }}
228211 $CARGO build --bin np_server $CARGO_BUILD_ARG --locked --target ${{ matrix.target }}
229- env :
230- BIN_VERSION : ${{ env.BIN_VERSION }}
231212
232213 - name : Setup archive
233214 shell : bash
You can’t perform that action at this time.
0 commit comments