Use ISO date format for ccache keys
This commit is contained in:
parent
2c8db8fbe4
commit
2fc6771046
4 changed files with 14 additions and 14 deletions
8
.github/workflows/analysis.yml
vendored
8
.github/workflows/analysis.yml
vendored
|
@ -53,8 +53,8 @@ jobs:
|
|||
run: |
|
||||
mkdir -p "${CCACHE_DIR}"
|
||||
echo "::set-output name=dir::$CCACHE_DIR"
|
||||
echo "::set-output name=today::$(date +%Y%M%d)"
|
||||
echo "::set-output name=yesterday::$(date --date=yesterday +%Y%M%d)"
|
||||
echo "::set-output name=today::$(date -I)"
|
||||
echo "::set-output name=yesterday::$(date --date=yesterday -I)"
|
||||
- uses: actions/cache@v1
|
||||
id: cache-ccache
|
||||
with:
|
||||
|
@ -192,8 +192,8 @@ jobs:
|
|||
run: |
|
||||
mkdir -p "${CCACHE_DIR}"
|
||||
echo "::set-output name=dir::$CCACHE_DIR"
|
||||
echo "::set-output name=today::$(date +%Y%M%d)"
|
||||
echo "::set-output name=yesterday::$(date --date=yesterday +%Y%M%d)"
|
||||
echo "::set-output name=today::$(date -I)"
|
||||
echo "::set-output name=yesterday::$(date --date=yesterday -I)"
|
||||
- uses: actions/cache@v1
|
||||
id: cache-ccache
|
||||
with:
|
||||
|
|
8
.github/workflows/linux.yml
vendored
8
.github/workflows/linux.yml
vendored
|
@ -44,8 +44,8 @@ jobs:
|
|||
run: |
|
||||
mkdir -p "${CCACHE_DIR}"
|
||||
echo "::set-output name=dir::$CCACHE_DIR"
|
||||
echo "::set-output name=today::$(date +%Y%M%d)"
|
||||
echo "::set-output name=yesterday::$(date --date=yesterday +%Y%M%d)"
|
||||
echo "::set-output name=today::$(date -I)"
|
||||
echo "::set-output name=yesterday::$(date --date=yesterday -I)"
|
||||
- uses: actions/cache@v1
|
||||
id: cache-ccache
|
||||
with:
|
||||
|
@ -77,8 +77,8 @@ jobs:
|
|||
run: |
|
||||
mkdir -p "${CCACHE_DIR}"
|
||||
echo "::set-output name=dir::$CCACHE_DIR"
|
||||
echo "::set-output name=today::$(date +%Y%M%d)"
|
||||
echo "::set-output name=yesterday::$(date --date=yesterday +%Y%M%d)"
|
||||
echo "::set-output name=today::$(date -I)"
|
||||
echo "::set-output name=yesterday::$(date --date=yesterday -I)"
|
||||
- uses: actions/cache@v1
|
||||
id: cache-ccache
|
||||
with:
|
||||
|
|
8
.github/workflows/macos.yml
vendored
8
.github/workflows/macos.yml
vendored
|
@ -33,8 +33,8 @@ jobs:
|
|||
run: |
|
||||
mkdir -p "${CCACHE_DIR}"
|
||||
echo "::set-output name=dir::$CCACHE_DIR"
|
||||
echo "::set-output name=today::$(date +%Y%M%d)"
|
||||
echo "::set-output name=yesterday::$(date --date=yesterday +%Y%M%d)"
|
||||
echo "::set-output name=today::$(date -I)"
|
||||
echo "::set-output name=yesterday::$(date --date=yesterday -I)"
|
||||
- uses: actions/cache@v1
|
||||
id: cache-ccache
|
||||
with:
|
||||
|
@ -69,8 +69,8 @@ jobs:
|
|||
run: |
|
||||
mkdir -p "${CCACHE_DIR}"
|
||||
echo "::set-output name=dir::$CCACHE_DIR"
|
||||
echo "::set-output name=today::$(date +%Y%M%d)"
|
||||
echo "::set-output name=yesterday::$(date --date=yesterday +%Y%M%d)"
|
||||
echo "::set-output name=today::$(date -I)"
|
||||
echo "::set-output name=yesterday::$(date --date=yesterday -I)"
|
||||
- uses: actions/cache@v1
|
||||
id: cache-ccache
|
||||
with:
|
||||
|
|
4
.github/workflows/windows.yml
vendored
4
.github/workflows/windows.yml
vendored
|
@ -65,8 +65,8 @@ jobs:
|
|||
run: |
|
||||
mkdir -p "${CCACHE_DIR}"
|
||||
echo "::set-output name=dir::$CCACHE_DIR"
|
||||
echo "::set-output name=today::$(date +%Y%M%d)"
|
||||
echo "::set-output name=yesterday::$(date --date=yesterday +%Y%M%d)"
|
||||
echo "::set-output name=today::$(date -I)"
|
||||
echo "::set-output name=yesterday::$(date --date=yesterday -I)"
|
||||
- uses: actions/cache@v1
|
||||
id: cache-ccache
|
||||
with:
|
||||
|
|
Loading…
Add table
Reference in a new issue