@@ -59,12 +59,12 @@ jobs:
5959
6060 # build and deploy CLI
6161 cargo build -p tmc-langs-cli --release --target ${{ matrix.target }}
62- gsutil cp target/${{ matrix.target }}/release/tmc-langs-cli gs://${{ secrets.GCP_BUCKET }}/tmc-langs-rust/tmc-langs-cli-${{ matrix.target }}-$TAG
62+ gsutil cp ./ target/${{ matrix.target }}/release/tmc-langs-cli gs://${{ secrets.GCP_BUCKET }}/tmc-langs-rust/tmc-langs-cli-${{ matrix.target }}-$TAG
6363
6464 # build and deploy Node module
65- npm --prefix ./bindings/tmc-langs-node install
66- npm --prefix ./bindings/tmc-langs-node run build -- --release --target ${{ matrix.target }}
67- gsutil cp bindings/tmc-langs-node/ts/functions.node gs://${{ secrets.GCP_BUCKET }}/tmc-langs-rust/tmc-langs-${{ matrix.target }}-$TAG.node
65+ npm --prefix ./crates/ bindings/tmc-langs-node install
66+ npm --prefix ./crates/ bindings/tmc-langs-node run build -- --release --target ${{ matrix.target }}
67+ gsutil cp ./crates/ bindings/tmc-langs-node/ts/functions.node gs://${{ secrets.GCP_BUCKET }}/tmc-langs-rust/tmc-langs-${{ matrix.target }}-$TAG.node
6868
6969 windows :
7070 runs-on : windows-2022
@@ -103,8 +103,8 @@ jobs:
103103 run : |
104104 $env:python_version=$(python -c 'import sys; print(\".\".join(map(str, sys.version_info[:3])))')
105105 $env:CLOUDSDK_PYTHON="C:\hostedtoolcache\windows\Python\$env:python_version\x64\python"
106- gsutil cp target/${{ matrix.target }}/release/tmc-langs-cli.exe gs://${{ secrets.GCP_BUCKET }}/tmc-langs-rust/tmc-langs-cli-${{ matrix.target }}-$Env:TAG.exe
107- gsutil cp bindings/tmc-langs-node/ts/functions.node gs://${{ secrets.GCP_BUCKET }}/tmc-langs-rust/tmc-langs-${{ matrix.target }}-$Env:TAG.node
106+ gsutil cp ./ target/${{ matrix.target }}/release/tmc-langs-cli.exe gs://${{ secrets.GCP_BUCKET }}/tmc-langs-rust/tmc-langs-cli-${{ matrix.target }}-$Env:TAG.exe
107+ gsutil cp ./crates/ bindings/tmc-langs-node/ts/functions.node gs://${{ secrets.GCP_BUCKET }}/tmc-langs-rust/tmc-langs-${{ matrix.target }}-$Env:TAG.node
108108
109109 macos-11 :
110110 runs-on : macos-11
@@ -136,12 +136,12 @@ jobs:
136136 - name : Cargo build
137137 run : |
138138 cargo build -p tmc-langs-cli --release
139- npm --prefix ./bindings/tmc-langs-node install
140- npm run --prefix ./bindings/tmc-langs-node build -- --release
139+ npm --prefix ./crates/ bindings/tmc-langs-node install
140+ npm run --prefix ./crates/ bindings/tmc-langs-node build -- --release
141141 - name : Sign
142142 run : codesign --force -s - target/release/tmc-langs-cli
143143 - name : Deploy
144144 run : |
145145 rustup target add ${{ matrix.target }}
146- gsutil cp target/release/tmc-langs-cli gs://${{ secrets.GCP_BUCKET }}/tmc-langs-rust/tmc-langs-cli-${{ matrix.target }}-$TAG
147- gsutil cp bindings/tmc-langs-node/ts/functions.node gs://${{ secrets.GCP_BUCKET }}/tmc-langs-rust/tmc-langs-${{ matrix.target }}-$TAG.node
146+ gsutil cp ./ target/release/tmc-langs-cli gs://${{ secrets.GCP_BUCKET }}/tmc-langs-rust/tmc-langs-cli-${{ matrix.target }}-$TAG
147+ 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