From f0a8214e713201c1218133b817152ec4b41b1568 Mon Sep 17 00:00:00 2001 From: dhuang Date: Thu, 17 Aug 2023 14:36:01 -0400 Subject: [PATCH] fix output issue --- .github/workflows/util.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/util.yml b/.github/workflows/util.yml index 134ef80b..1490a002 100644 --- a/.github/workflows/util.yml +++ b/.github/workflows/util.yml @@ -30,12 +30,19 @@ jobs: id-token: write contents: read steps: - - uses: aws-actions/configure-aws-credentials@v2 + + - name: repo checkout + uses: actions/checkout@v3 + + - name: s3 + uses: aws-actions/configure-aws-credentials@v2 with: role-to-assume: ${{ secrets.AWS_WEBIDENTITY_FOR_GITHUB_ACTIONS }} aws-region: us-east-1 - - uses: actions/checkout@v3 - - run: | + + - name: build + id: build + run: | pwd sudo apt-get -y install python3-pip pip3 --version @@ -59,6 +66,9 @@ jobs: fi echo "=========== Generated build ===========" ls dist/ + echo "=========== Copy build to S3 ===========" + aws s3 list s3://nm-github-actions/${{ github.event.repository.name }}/ + #aws s3 cp dist/*nightly*.whl s3://nm-github-actions/${{ github.event.repository.name }}/ #date '+%Y%m%d-%k:%M:%S' | tee log_${GITHUB_REF_NAME}_nightly_${todaytime}_${GITHUB_SHA:0:7}