1
0
Fork 0

Use ISO date format for ccache keys

This commit is contained in:
krcroft 2020-03-25 08:08:05 -07:00 committed by Patryk Obara
parent 2c8db8fbe4
commit 2fc6771046
4 changed files with 14 additions and 14 deletions

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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: