This is an automated email from the ASF dual-hosted git repository. pengzheng pushed a commit to branch feature/614-github-cache-build-deps in repository https://gitbox.apache.org/repos/asf/celix.git
The following commit(s) were added to refs/heads/feature/614-github-cache-build-deps by this push: new 2ae6920c Fix ccache timestamp. 2ae6920c is described below commit 2ae6920c5432e69c5d8764757bde8c8bc35a6391 Author: PengZheng <howto...@gmail.com> AuthorDate: Wed Aug 30 23:16:30 2023 +0800 Fix ccache timestamp. --- .github/workflows/conan_create.yml | 8 ++++---- .github/workflows/coverage.yml | 4 ++-- .github/workflows/macos.yml | 8 ++++---- .github/workflows/ubuntu.yml | 8 ++++---- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/conan_create.yml b/.github/workflows/conan_create.yml index d0786b52..8c997085 100644 --- a/.github/workflows/conan_create.yml +++ b/.github/workflows/conan_create.yml @@ -50,10 +50,10 @@ jobs: restore-keys: ${{ runner.os }}-builder-${{ env.cache-name }}-${{ matrix.compiler[0] }}-${{ matrix.type }}- - name: Prepare ccache timestamp id: ccache_cache_timestamp - shell: cmake -P {0} >> $GITHUB_OUTPUT + shell: cmake -P {0} run: | string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC) - message("timestamp=${current_date}") + message("::set-output name=timestamp::${current_date}") - name: ccache Cache uses: actions/cache@v1 with: @@ -102,10 +102,10 @@ jobs: restore-keys: ${{ runner.os }}-builder-${{ env.cache-name }}- - name: Prepare ccache timestamp id: ccache_cache_timestamp - shell: cmake -P {0} >> $GITHUB_OUTPUT + shell: cmake -P {0} run: | string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC) - message("timestamp=${current_date}") + message("::set-output name=timestamp::${current_date}") - name: ccache Cache uses: actions/cache@v1 with: diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 4052dbd6..d449dfbb 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -37,10 +37,10 @@ jobs: restore-keys: ${{ runner.os }}-gcov-builder-${{ env.cache-name }}- - name: Prepare ccache timestamp id: ccache_cache_timestamp - shell: cmake -P {0} >> $GITHUB_OUTPUT + shell: cmake -P {0} run: | string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC) - message("timestamp=${current_date}") + message("::set-output name=timestamp::${current_date}") - name: ccache Cache uses: actions/cache@v1 with: diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 93466f63..b5509b1f 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -40,10 +40,10 @@ jobs: restore-keys: ${{ runner.os }}-test-builder-${{ env.cache-name }}- - name: Prepare ccache timestamp id: ccache_cache_timestamp - shell: cmake -P {0} >> $GITHUB_OUTPUT + shell: cmake -P {0} run: | string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC) - message("timestamp=${current_date}") + message("::set-output name=timestamp::${current_date}") - name: ccache Cache uses: actions/cache@v1 with: @@ -89,10 +89,10 @@ jobs: brew install lcov zeromq czmq cpputest jansson rapidjson libzip ccache - name: Prepare ccache timestamp id: ccache_cache_timestamp - shell: cmake -P {0} >> $GITHUB_OUTPUT + shell: cmake -P {0} run: | string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC) - message("timestamp=${current_date}") + message("::set-output name=timestamp::${current_date}") - name: ccache Cache uses: actions/cache@v1 with: diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index a0d2f74f..495dae98 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -58,10 +58,10 @@ jobs: restore-keys: ${{ runner.os }}-test-builder-${{ env.cache-name }}-${{ matrix.compiler[0] }}-${{ matrix.type }}- - name: Prepare ccache timestamp id: ccache_cache_timestamp - shell: cmake -P {0} >> $GITHUB_OUTPUT + shell: cmake -P {0} run: | string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC) - message("timestamp=${current_date}") + message("::set-output name=timestamp::${current_date}") - name: ccache Cache uses: actions/cache@v1 with: @@ -129,10 +129,10 @@ jobs: ccache - name: Prepare ccache timestamp id: ccache_cache_timestamp - shell: cmake -P {0} >> $GITHUB_OUTPUT + shell: cmake -P {0} run: | string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC) - message("timestamp=${current_date}") + message("::set-output name=timestamp::${current_date}") - name: ccache Cache uses: actions/cache@v1 with: