From ba0c844ad92c9be891c50445836d9393b36734b5 Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Wed, 17 Nov 2021 14:21:59 +0100 Subject: [PATCH] ci: move timestamp step into correct job --- .github/workflows/selfdrive_tests.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/selfdrive_tests.yaml b/.github/workflows/selfdrive_tests.yaml index 9653a18fd..aa217735b 100644 --- a/.github/workflows/selfdrive_tests.yaml +++ b/.github/workflows/selfdrive_tests.yaml @@ -146,13 +146,6 @@ jobs: if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request' && github.repository == 'commaai/openpilot' needs: static_analysis # hack to ensure slow tests run first since this and static_analysis are fast steps: - - name: Get current date - id: date - run: echo "::set-output name=time::$(date +'%s')" - - name: Output timestamp - run: echo $TIMESTAMP - env: - TIMESTAMP: ${{ steps.date.outputs.time }} - uses: actions/checkout@v2 with: submodules: true @@ -217,6 +210,13 @@ jobs: runs-on: ubuntu-20.04 timeout-minutes: 50 steps: + - name: Get current date + id: date + run: echo "::set-output name=time::$(date +'%s')" + - name: Output timestamp + run: echo $TIMESTAMP + env: + TIMESTAMP: ${{ steps.date.outputs.time }} - uses: actions/checkout@v2 with: submodules: true