From 516058b6c0997fb16627e604b4e56283e66a7ed8 Mon Sep 17 00:00:00 2001 From: hustjieke Date: Mon, 29 May 2023 06:07:30 +0000 Subject: [PATCH] fix(workflow): nightly build failed #1830 [summary] Currently we disable tar pkg in ci/cd. --- .github/workflows/nightly.yml | 37 ++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 11e0b37df..fae9c5ac9 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -66,21 +66,22 @@ jobs: cd /stonedb57/install/mysql-test ./mysql-test-run.pl --suite=tianmu --nowarnings --force --nocheck-testcases --retry=0 - - name: output some vars - id: vars - env: - SHA_EXT: sha256sum.txt - run: | - find pkg_outdir -type f \( -iname \*.deb -o -iname \*.rpm -o -iname \*.tar.gz \) -exec bash -c "sha256sum {} > {}.sha256sum.txt" \; - subdir=$(date -u +%Y.%m.%d) - echo "::set-output name=subdir::$subdir" - - - name: copy file via ssh password - uses: appleboy/scp-action@master - with: - host: ${{ secrets.FILE_SERVER_HOST }} - username: ${{ secrets.FILE_SERVER_USERNAME }} - password: ${{ secrets.FILE_SERVER_PASSWORD }} - port: ${{ secrets.FILE_SERVER_PORT }} - source: "pkg_outdir/*" - target: "${{ secrets.FILE_SERVER_DIR }}" \ No newline at end of file + # TODO(): physical machine has been removed, we restart this funcion again in the future. + #- name: output some vars + # id: vars + # env: + # SHA_EXT: sha256sum.txt + # run: | + # find pkg_outdir -type f \( -iname \*.deb -o -iname \*.rpm -o -iname \*.tar.gz \) -exec bash -c "sha256sum {} > {}.sha256sum.txt" \; + # subdir=$(date -u +%Y.%m.%d) + # echo "::set-output name=subdir::$subdir" + # + #- name: copy file via ssh password + # uses: appleboy/scp-action@master + # with: + # host: ${{ secrets.FILE_SERVER_HOST }} + # username: ${{ secrets.FILE_SERVER_USERNAME }} + # password: ${{ secrets.FILE_SERVER_PASSWORD }} + # port: ${{ secrets.FILE_SERVER_PORT }} + # source: "pkg_outdir/*" + # target: "${{ secrets.FILE_SERVER_DIR }}"