Skip to content

Commit

Permalink
fix bug of time
Browse files Browse the repository at this point in the history
Signed-off-by: YanxuanLiu <yanxuanl@nvidia.com>
  • Loading branch information
YanxuanLiu committed Nov 30, 2023
1 parent 845a40c commit e86afdc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/mvn-verify-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: ['8']
java: [ '8']
outputs:
dailyCacheKey: ${{ steps.generateCacheKey.outputs.dailyCacheKey }}
steps:
Expand Down Expand Up @@ -62,8 +62,7 @@ jobs:
id: generateCacheKey
run: |
echo "DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
cacheKey="${{ hashFiles('**/pom.xml') }}-${{ github.event.pull_request.base.ref }}-${{ env.DATE }}"
echo "$cacheKey"
cacheKey="${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}-${{ github.event.pull_request.base.ref }}-${{ DATE }}"
echo "dailyCacheKey=$cacheKey" | tee $GITHUB_ENV $GITHUB_OUTPUT
- name: Cache local Maven repository
uses: actions/cache@v3
Expand Down

0 comments on commit e86afdc

Please sign in to comment.