Yuki Takei пре 4 година
родитељ
комит
c167606fef
1 измењених фајлова са 2 додато и 4 уклоњено
  1. 2 4
      .github/workflows/ci.yml

+ 2 - 4
.github/workflows/ci.yml

@@ -214,9 +214,8 @@ jobs:
     - name: Get Date
       id: get-date
       run: |
-        echo "::set-output name=dateYmd::$(/bin/date -u "+%Y%m%d")"
+        echo "::set-output name=dateYmdHM::$(/bin/date -u "+%Y%m%d%H%M")"
         echo "::set-output name=dateYm::$(/bin/date -u "+%Y%m")"
-        echo "::set-output name=dateY::$(/bin/date -u "+%Y")"
 
     - name: Cache/Restore node_modules for build
       id: cache-dependencies
@@ -224,12 +223,11 @@ jobs:
       with:
         path: |
           **/node_modules
-        key: node_modules-build-prod-${{ runner.OS }}-node${{ matrix.node-version }}-${{ steps.get-date.outputs.dateYmd }}
+        key: node_modules-build-prod-${{ runner.OS }}-node${{ matrix.node-version }}-${{ steps.get-date.outputs.dateYmdHM }}
         restore-keys: |
           node_modules-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
           node_modules-${{ runner.OS }}-node${{ matrix.node-version }}-
           node_modules-build-prod-${{ runner.OS }}-node${{ matrix.node-version }}-${{ steps.get-date.outputs.dateYm }}
-          node_modules-build-prod-${{ runner.OS }}-node${{ matrix.node-version }}-${{ steps.get-date.outputs.dateY }}
           node_modules-build-prod-${{ runner.OS }}-node${{ matrix.node-version }}-
 
     - name: Remove unnecessary packages