From c080489fce7279e5d79e8992a6e978521c17892e Mon Sep 17 00:00:00 2001 From: SwallowGG <1558143046@qq.com> Date: Tue, 23 Jan 2024 20:55:42 +0800 Subject: [PATCH] fix:Change the Packaging Method --- .github/workflows/release_test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release_test.yml b/.github/workflows/release_test.yml index da65ae161..ec9d34a22 100644 --- a/.github/workflows/release_test.yml +++ b/.github/workflows/release_test.yml @@ -202,10 +202,10 @@ jobs: eval `ssh-agent -s` ssh-add ~/.ssh/id_rsa # 上传到服务器 - - name: Upload jar to server with retries + - name: Upload package run: | - ssh -t ${{ secrets.SERVER_DOWNLOAD_USERNAME }}@${{ secrets.SERVER_DOWNLOAD_HOST }} "mkdir -p ${{ secrets.SERVER_DOWNLOAD_PATH }}/test//99.0.${{ github.run_id }}" && break - scp ./oss_temp_file/ ${{ secrets.SERVER_DOWNLOAD_USERNAME }}@${{ secrets.SERVER_DOWNLOAD_HOST }}:${{ secrets.SERVER_DOWNLOAD_PATH }}/test//99.0.${{ github.run_id }}/ && break + ssh -t ${{ secrets.SERVER_DOWNLOAD_USERNAME }}@${{ secrets.SERVER_DOWNLOAD_HOST }} "mkdir -p ${{ secrets.SERVER_DOWNLOAD_PATH }}/test//99.0.${{ github.run_id }}" + scp ./oss_temp_file/ ${{ secrets.SERVER_DOWNLOAD_USERNAME }}@${{ secrets.SERVER_DOWNLOAD_HOST }}:${{ secrets.SERVER_DOWNLOAD_PATH }}/test//99.0.${{ github.run_id }}/ # 发送到DingTalk