From b461fcbae132de0fb7f7592710a6e160492efab6 Mon Sep 17 00:00:00 2001 From: yanghua Date: Wed, 14 Aug 2024 17:10:13 +0800 Subject: [PATCH] temp commit --- .github/workflows/unittest.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index b3b1d36..9ae4ecb 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -21,12 +21,12 @@ jobs: pip install --user poetry make install - name: Prepare Env - run: echo "Preparing environment variables" - env: - TOS_ACCESS_KEY: ${{ secrets.TOS_ACCESS_KEY }} - TOS_SECRET_KEY: ${{ secrets.TOS_SECRET_KEY }} - TOS_REGION: ${{ vars.TOS_REGION }} - TOS_ENDPOINT: ${{ vars.TOS_ENDPOINT }} - TOSFS_LOGGING_LEVEL: ${{ vars.TOSFS_LOGGING_LEVEL }} + run: | + echo "Preparing environment variables" + echo "TOS_ACCESS_KEY=${{ secrets.TOS_ACCESS_KEY }}" >> $GITHUB_ENV + echo "TOS_SECRET_KEY=${{ secrets.TOS_SECRET_KEY }}" >> $GITHUB_ENV + echo "TOS_REGION=${{ vars.TOS_REGION }}" >> $GITHUB_ENV + echo "TOS_ENDPOINT=${{ vars.TOS_ENDPOINT }}" >> $GITHUB_ENV + echo "TOSFS_LOGGING_LEVEL=${{ vars.TOSFS_LOGGING_LEVEL }}" >> $GITHUB_ENV - name: Run tests run: make test