File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 3939 - name : Cache
4040 uses : Swatinem/rust-cache@v2
4141 - name : Add rustup target
42- run : rustup target add ${{ matrix.target }}
42+ run : rustup target add ${{ matrix.rust- target }}
4343
4444 - name : Diagnostics on Windows
4545 if : matrix.os == 'windows-latest'
Original file line number Diff line number Diff line change @@ -127,13 +127,13 @@ jobs:
127127
128128 - name : Cargo build
129129 run : |
130+ rustup target add ${{ matrix.target }}
130131 cargo build -p tmc-langs-cli --release --target ${{ matrix.target }}
131132 npm --prefix ./crates/bindings/tmc-langs-node install
132133 npm run --prefix ./crates/bindings/tmc-langs-node build -- --release
133134 - name : Sign
134135 run : codesign --force -s - target/release/tmc-langs-cli
135136 - name : Deploy
136137 run : |
137- rustup target add ${{ matrix.target }}
138138 gsutil cp ./target/release/tmc-langs-cli gs://${{ secrets.GCP_BUCKET }}/tmc-langs-rust/tmc-langs-cli-${{ matrix.target }}-$TAG
139139 gsutil cp ./crates/bindings/tmc-langs-node/ts/functions.node gs://${{ secrets.GCP_BUCKET }}/tmc-langs-rust/tmc-langs-${{ matrix.target }}-$TAG.node
You can’t perform that action at this time.
0 commit comments