From 814aa49a5bb7e445500d25985eaadb5ad55c0a9d Mon Sep 17 00:00:00 2001 From: tangxifan Date: Mon, 23 Nov 2020 22:34:37 -0700 Subject: [PATCH] [Test] Bug fix in github Actions script --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 18d8b6cbc..ecab0aa2e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,15 +44,15 @@ jobs: run: source ./.github/workflows/install_dependency.sh - name: Prepare ccache timestamp - id: ccache_cache_timestamp - shell: cmake -P {0} - run: | + id: ccache_cache_timestamp + shell: cmake -P {0} + run: | string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC) message("::set-output name=timestamp::${current_date}") - name: ccache cache files - uses: actions/cache@v1.1.0 - with: + uses: actions/cache@v1.1.0 + with: path: .ccache key: ${{ matrix.config.name }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }} restore-keys: |