Просмотр исходного кода

Export current_public_dir in test_ya (#9147)

Whompe 6 месяцев назад
Родитель
Сommit
4620ab7d16
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      .github/actions/test_ya/action.yml

+ 3 - 2
.github/actions/test_ya/action.yml

@@ -335,7 +335,8 @@ runs:
           fi
 
           CURRENT_PUBLIC_DIR_RELATIVE=try_$RETRY
-          CURRENT_PUBLIC_DIR=$PUBLIC_DIR/$CURRENT_PUBLIC_DIR_RELATIVE
+          # Can be used in tests in which you want to publish the results in s3 for each retry separately
+          export CURRENT_PUBLIC_DIR=$PUBLIC_DIR/$CURRENT_PUBLIC_DIR_RELATIVE
           mkdir $CURRENT_PUBLIC_DIR
 
           if [ ${{ inputs.testman_token }} ]; then
@@ -601,4 +602,4 @@ runs:
       env:
         BUILD_PRESET: ${{ inputs.build_preset }}
         GITHUB_TOKEN: ${{ github.token }}
-      run:  echo "Check cancelled" | .github/scripts/tests/comment-pr.py --color black
+      run:  echo "Check cancelled" | .github/scripts/tests/comment-pr.py --color black