Skip to content

Commit 78cac49

Browse files
committed
#1: update workflow var name
1 parent bfe79e9 commit 78cac49

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.azure/pipelines/build-and-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
TS: ~
5050
BUILD_DIR: /opt/foo/build
5151
OUTPUT_DIR: /opt/foo/output
52-
CACHE_DIR: /opt/foo/build/ccache
52+
CCACHE_DIR: /opt/foo/build/ccache
5353
COVERAGE_ENABLED: 0
5454
JUNIT_REPORT_PATH: /opt/foo/output/junit.xml
5555
steps:
@@ -101,7 +101,7 @@ jobs:
101101
inputs:
102102
securityNamespace: cache
103103
key: $(Agent.OS) | "$(cache_name)" | $(TS_YEAR) | $(TS_MONTH) | $(TS_DAY) | $(TS)
104-
path: '$(build_root)$(volume_name)/ccache'
104+
path: $(CCACHE_DIR)
105105
restoreKeys: |
106106
$(Agent.OS) | "$(cache_name)" | $(TS_YEAR) | $(TS_MONTH) | $(TS_DAY)
107107
$(Agent.OS) | "$(cache_name)" | $(TS_YEAR) | $(TS_MONTH)

.github/workflows/build-and-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
TS: ~
4646
BUILD_DIR: /opt/foo/build
4747
OUTPUT_DIR: /opt/foo/output
48-
CACHE_DIR: /opt/foo/build/ccache
48+
CCACHE_DIR: /opt/foo/build/ccache
4949
COVERAGE_ENABLED: ${{ matrix.runner.name == 'wf-amd64-ubuntu-22.04-gcc-12-cpp' && 1 || 0 }}
5050
JUNIT_REPORT_PATH: /opt/foo/output/junit.xml
5151
strategy:
@@ -111,7 +111,7 @@ jobs:
111111
env:
112112
cache_name: ${{ matrix.runner.name }}
113113
with:
114-
path: ${{ env.CACHE_DIR }}
114+
path: ${{ env.CCACHE_DIR }}
115115
key: ${{ runner.os }}-${{ env.cache_name }}-${{ env.TS_YEAR }}-${{ env.TS_MONTH }}-${{ env.TS_DAY }}-${{ env.TS }}
116116
restore-keys: |
117117
${{ runner.os }}-${{ env.cache_name }}-${{ env.TS_YEAR }}-${{ env.TS_MONTH }}-${{ env.TS_DAY }}-

0 commit comments

Comments
 (0)