workflow update

This commit is contained in:
core 2023-10-10 18:01:12 -04:00
parent 7d1bdf07e0
commit b09c7e3e57
Signed by: core
GPG Key ID: FDBF740DADDCEECF
1 changed files with 2 additions and 2 deletions

View File

@ -45,11 +45,11 @@ jobs:
toolchain: stable toolchain: stable
override: true override: true
- name: Install additional dependencies - name: Install additional dependencies
run: apt update && apt-get install -y libclang-dev clang sshpass rsync run: apt update && apt-get install -y libclang-dev clang sshpass rsync gcc-arm-linux-gnueabi
- name: Compile release binary - name: Compile release binary
uses: https://github.com/actions-rs/cargo@v1 uses: https://github.com/actions-rs/cargo@v1
with: with:
command: build command: build
args: --release --bin tfclient args: --release --bin tfclient
- name: Upload binary - name: Upload binary
run: sshpass -p "${{ secrets.TRIFID_DLCDN_PASSWORD }}" rsync --mkpath -e 'ssh -p ${{ secrets.TRIFID_DLCDN_PORT }} -o StrictHostKeyChecking=no' target/release/tfclient ${{ secrets.TRIFID_DLCDN_USER }}@${{ secrets.TRIFID_DLCDN_IP }}:${{ secrets.TRIFID_DLCDN_PATH }}/tfclient/arm64/$GITHUB_SHA/tfclient run: sshpass -p "${{ secrets.TRIFID_DLCDN_PASSWORD }}" rsync --mkpath -e 'ssh -p ${{ secrets.TRIFID_DLCDN_PORT }} -o StrictHostKeyChecking=no' target/release/tfclient ${{ secrets.TRIFID_DLCDN_USER }}@${{ secrets.TRIFID_DLCDN_IP }}:${{ secrets.TRIFID_DLCDN_PATH }}/tfclient/arm64/$GITHUB_SHA/tfclient