From 3ae9d8e5b57c41af3f363ae4cf32bfc853a63584 Mon Sep 17 00:00:00 2001 From: dhuang Date: Mon, 31 Jul 2023 14:52:43 -0400 Subject: [PATCH] fix a minor bug for release build --- .github/workflows/build-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 984a5bcc..7f293aef 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -32,5 +32,5 @@ jobs: ls dist/ aws s3 cp dist/*.whl s3://nm-github-actions/${{ github.event.repository.name }}/ todaytime=`date +%Y%m%d` - date '+%Y%m%d-%k:%M:%S' | tee log_${GITHUB_REF_NAME}_release_${todaytime}_${GITHUB_SHA:0:7} - aws s3 cp log_${GITHUB_REF_NAME}_release_${todaytime}_${GITHUB_SHA:0:7} s3://nm-github-actions/${{ github.event.repository.name }}/ + date '+%Y%m%d-%k:%M:%S' | tee log_${GITHUB_REF_NAME/\//-}_release_${todaytime}_${GITHUB_SHA:0:7} + aws s3 cp log_${GITHUB_REF_NAME/\//-}_release_${todaytime}_${GITHUB_SHA:0:7} s3://nm-github-actions/${{ github.event.repository.name }}/