Skip to content

Commit bed1857

Browse files
committed
Fix CI
1 parent ca49ac9 commit bed1857

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
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'

.github/workflows/upload-binaries.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)