From 9b10c3723a507e45e78906ffb1a12675940b2753 Mon Sep 17 00:00:00 2001 From: MinyazevR <89993880+MinyazevR@users.noreply.github.com> Date: Mon, 23 Dec 2024 18:33:34 +0300 Subject: [PATCH] Add verbose flag for rsync and step timeout --- .github/workflows/installer.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/installer.yml b/.github/workflows/installer.yml index 54659958f0..a5d1086d81 100644 --- a/.github/workflows/installer.yml +++ b/.github/workflows/installer.yml @@ -91,10 +91,11 @@ jobs: run: | BRANCH_NAME="${GITHUB_REF#refs/*/}" && BRANCH_NAME=${BRANCH_NAME//\//-} 7z a trik-studio.zip "$APP_DIR" - install -m 600 -D /dev/null ~/.ssh/id_rsa - echo "${{ secrets.DL_PRIVATE_SSH_KEY }}" > ~/.ssh/id_rsa - rsync -v --rsh="ssh -o StrictHostKeyChecking=no" trik-studio.zip ${{ secrets.DL_USERNAME }}@${{ secrets.DL_HOST }}:~/dl/ts/fresh/installer/trik-studio-"$BRANCH_NAME"-x86_64.zip - + install -m 600 -D /dev/null $HOME/.ssh/id_rsa + echo "${{ secrets.DL_PRIVATE_SSH_KEY }}" > $HOME/.ssh/id_rsa + rsync -vvv --rsh="ssh -o StrictHostKeyChecking=no" trik-studio.zip ${{ secrets.DL_USERNAME }}@${{ secrets.DL_HOST }}:~/dl/ts/fresh/installer/trik-studio-"$BRANCH_NAME"-x86_64.zip + timeout-minutes: 15 + - name: Reinstall trik-studio and dll search run: | export UNINSTALL_SCRIPT_PATH=$GITHUB_WORKSPACE/trik_studio_uninstallscript.qs @@ -151,11 +152,11 @@ jobs: for i in "$GITHUB_WORKSPACE"/tests/*.qrs; do "$PATCHER_NAME" -s "$i".js "$i" \ && "$TWOD_EXEC_NAME" --close -s 5 -m script "$i"; done if: ${{ !startsWith(inputs.os, 'macos') }} - timeout-minutes: 15 + timeout-minutes: 5 - name: Run minimal Python interpeter tests as fields in .qrs (For backward compatibility) run: | for i in "$GITHUB_WORKSPACE"/tests/*.qrs; do "$PATCHER_NAME" -s "$i".py "$i" \ && "$TWOD_EXEC_NAME" --close -s 5 -m script "$i"; done if: ${{ !startsWith(inputs.os, 'macos') }} - timeout-minutes: 15 + timeout-minutes: 5