[Test] Bug fix in github Actions script
This commit is contained in:
parent
6dbf22bc3d
commit
814aa49a5b
|
@ -44,15 +44,15 @@ jobs:
|
||||||
run: source ./.github/workflows/install_dependency.sh
|
run: source ./.github/workflows/install_dependency.sh
|
||||||
|
|
||||||
- name: Prepare ccache timestamp
|
- name: Prepare ccache timestamp
|
||||||
id: ccache_cache_timestamp
|
id: ccache_cache_timestamp
|
||||||
shell: cmake -P {0}
|
shell: cmake -P {0}
|
||||||
run: |
|
run: |
|
||||||
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
|
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
|
||||||
message("::set-output name=timestamp::${current_date}")
|
message("::set-output name=timestamp::${current_date}")
|
||||||
|
|
||||||
- name: ccache cache files
|
- name: ccache cache files
|
||||||
uses: actions/cache@v1.1.0
|
uses: actions/cache@v1.1.0
|
||||||
with:
|
with:
|
||||||
path: .ccache
|
path: .ccache
|
||||||
key: ${{ matrix.config.name }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
|
key: ${{ matrix.config.name }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
|
|
Loading…
Reference in New Issue