From c25227b180563d47df60bb1bd9298e4106f50e2b Mon Sep 17 00:00:00 2001 From: atalman Date: Tue, 30 May 2023 09:04:22 -0700 Subject: [PATCH] test --- .github/workflows/test_build_conda_linux_with_cuda.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_build_conda_linux_with_cuda.yml b/.github/workflows/test_build_conda_linux_with_cuda.yml index 57b0b4aa40..5ddddf8c51 100644 --- a/.github/workflows/test_build_conda_linux_with_cuda.yml +++ b/.github/workflows/test_build_conda_linux_with_cuda.yml @@ -11,6 +11,9 @@ on: workflow_dispatch: jobs: + get-date: Get current date + id: date + run: echo "::set-output name=date::$(date +'%Y-%m-%d')" generate-matrix: uses: ./.github/workflows/generate_binary_build_matrix.yml with: @@ -19,14 +22,14 @@ jobs: test-infra-repository: ${{ github.repository }} test-infra-ref: ${{ github.ref }} test: - needs: generate-matrix + needs: generate-matrix, get-date strategy: fail-fast: false matrix: include: - repository: pytorch/audio cache-path: /third_party/ffmpeg - cache-key: linux-ffmpeg-${{ hashFiles('**/Makefile') }} + cache-key: linux-ffmpeg-${{ needs.get-date.outputs.date }} cache-miss-script: packaging/pre_build_script.sh post-script: packaging/post_build_script.sh smoke-test-script: test/smoke_test/smoke_test.py