From 22670cbeb265c6ddf5c35be81edd4202636a44b8 Mon Sep 17 00:00:00 2001 From: Kuan Fan Date: Wed, 18 Dec 2024 09:32:37 -0800 Subject: [PATCH] update dev and test ci --- .github/workflows/dev-ci.yaml | 6 +++--- .github/workflows/test-ci.yaml | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dev-ci.yaml b/.github/workflows/dev-ci.yaml index 30099649d..3a30817ed 100644 --- a/.github/workflows/dev-ci.yaml +++ b/.github/workflows/dev-ci.yaml @@ -187,7 +187,7 @@ jobs: name: Build TFRS Celery runs-on: ubuntu-latest timeout-minutes: 60 - needs: [build-backend, build-frontend, build-scan-coordinator] + needs: [get-version, build-backend, build-frontend, build-scan-coordinator] env: BUILD_SUFFIX: ${{ needs.get-version.outputs.VERSION }} @@ -228,7 +228,7 @@ jobs: name: Build TFRS scan-handler runs-on: ubuntu-latest timeout-minutes: 60 - needs: [build-backend, build-frontend, build-scan-coordinator] + needs: [get-version, build-backend, build-frontend, build-scan-coordinator] env: BUILD_SUFFIX: ${{ needs.get-version.outputs.VERSION }} @@ -269,7 +269,7 @@ jobs: name: Build TFRS Notification Server runs-on: ubuntu-latest timeout-minutes: 60 - needs: [build-backend, build-frontend, build-scan-coordinator] + needs: [get-version, build-backend, build-frontend, build-scan-coordinator] env: BUILD_SUFFIX: ${{ needs.get-version.outputs.VERSION }} diff --git a/.github/workflows/test-ci.yaml b/.github/workflows/test-ci.yaml index 6efdf4fff..e7522dc6a 100644 --- a/.github/workflows/test-ci.yaml +++ b/.github/workflows/test-ci.yaml @@ -141,8 +141,7 @@ jobs: - id: get-current-time run: | - TZ="America/Vancouver" - echo "CURRENT_TIME=$(date '+%Y-%m-%d %H:%M:%S %Z')" >> $GITHUB_OUTPUT + echo "CURRENT_TIME=$(TZ="America/Vancouver" date '+%Y-%m-%d %H:%M:%S %Z')" >> $GITHUB_OUTPUT - name: Ask for approval for TFRS Test deployment uses: trstringer/manual-approval@v1.6.0