diff --git a/.github/workflows/beta-publish-ng14.yml b/.github/workflows/beta-publish-ng14.yml index ea7f199397..c5e4740ad7 100644 --- a/.github/workflows/beta-publish-ng14.yml +++ b/.github/workflows/beta-publish-ng14.yml @@ -70,12 +70,12 @@ jobs: - name: 'Build beta versions' run: npx nx run-many --target=build --all --parallel --max-parallel=3 - - name: Save dist in cache... + - name: Upload dist au artifacts... id: dist-cache-save - uses: actions/cache/save@v3 + uses: actions/upload-artifact@v3 with: + name: dist path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-beta deploy_to_doc: needs: build @@ -91,11 +91,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-beta + name: dist - uses: actions/setup-node@v3 with: @@ -128,11 +127,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-beta + name: dist - uses: actions/setup-node@v3 with: @@ -155,11 +153,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-beta + name: dist - uses: actions/setup-node@v3 with: @@ -182,11 +179,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-beta + name: dist - uses: actions/setup-node@v3 with: @@ -208,11 +204,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-beta + name: dist - uses: actions/setup-node@v3 with: @@ -235,11 +230,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-beta + name: dist - uses: actions/setup-node@v3 with: @@ -262,11 +256,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-beta + name: dist - uses: actions/setup-node@v3 with: @@ -289,11 +282,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-beta + name: dist - uses: actions/setup-node@v3 with: @@ -316,11 +308,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-beta + name: dist - uses: actions/setup-node@v3 with: @@ -343,11 +334,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-beta + name: dist - uses: actions/setup-node@v3 with: @@ -370,11 +360,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-beta + name: dist - uses: actions/setup-node@v3 with: @@ -397,11 +386,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-beta + name: dist - uses: actions/setup-node@v3 with: diff --git a/.github/workflows/beta-publish-ng15.yml b/.github/workflows/beta-publish-ng15.yml index 4dc8bd3598..2095dbcb3b 100644 --- a/.github/workflows/beta-publish-ng15.yml +++ b/.github/workflows/beta-publish-ng15.yml @@ -70,12 +70,12 @@ jobs: - name: 'Build beta versions' run: npx nx run-many --target=build --all --parallel --max-parallel=3 - - name: Save dist in cache... + - name: Upload dist as artifacts... id: dist-cache-save - uses: actions/cache/save@v3 + uses: actions/upload-artifact@v3 with: + name: dist path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-beta deploy_to_doc: needs: build @@ -91,11 +91,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-beta + name: dist - uses: actions/setup-node@v3 with: @@ -128,11 +127,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-beta + name: dist - uses: actions/setup-node@v3 with: @@ -155,11 +153,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-beta + name: dist - uses: actions/setup-node@v3 with: @@ -182,11 +179,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-beta + name: dist - uses: actions/setup-node@v3 with: @@ -208,11 +204,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-beta + name: dist - uses: actions/setup-node@v3 with: @@ -235,11 +230,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-beta + name: dist - uses: actions/setup-node@v3 with: @@ -262,11 +256,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-beta + name: dist - uses: actions/setup-node@v3 with: @@ -289,11 +282,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-beta + name: dist - uses: actions/setup-node@v3 with: @@ -316,11 +308,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-beta + name: dist - uses: actions/setup-node@v3 with: @@ -343,11 +334,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-beta + name: dist - uses: actions/setup-node@v3 with: @@ -370,11 +360,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-beta + name: dist - uses: actions/setup-node@v3 with: @@ -397,11 +386,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-beta + name: dist - uses: actions/setup-node@v3 with: diff --git a/.github/workflows/beta-publish-ng16.yml b/.github/workflows/beta-publish-ng16.yml index 9bf75ff09f..2d32cbb2a2 100644 --- a/.github/workflows/beta-publish-ng16.yml +++ b/.github/workflows/beta-publish-ng16.yml @@ -70,12 +70,12 @@ jobs: - name: 'Build beta versions' run: npx nx run-many --target=build --all --parallel --max-parallel=3 - - name: Save dist in cache... + - name: Upload dist as artifacts... id: dist-cache-save - uses: actions/cache/save@v3 + uses: actions/upload-artifact@v3 with: + name: dist path: ./dist - key: ${{ runner.os }}-node_modules_ng_16-beta deploy_to_doc: needs: build @@ -91,11 +91,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_16-beta + name: dist - uses: actions/setup-node@v3 with: @@ -128,11 +127,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_16-beta + name: dist - uses: actions/setup-node@v3 with: @@ -155,11 +153,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_16-beta + name: dist - uses: actions/setup-node@v3 with: @@ -182,11 +179,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_16-beta + name: dist - uses: actions/setup-node@v3 with: @@ -208,11 +204,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_16-beta + name: dist - uses: actions/setup-node@v3 with: @@ -235,11 +230,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_16-beta + name: dist - uses: actions/setup-node@v3 with: @@ -262,11 +256,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_16-beta + name: dist - uses: actions/setup-node@v3 with: @@ -289,11 +282,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_16-beta + name: dist - uses: actions/setup-node@v3 with: @@ -316,11 +308,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_16-beta + name: dist - uses: actions/setup-node@v3 with: @@ -343,11 +334,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_16-beta + name: dist - uses: actions/setup-node@v3 with: @@ -370,11 +360,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_16-beta + name: dist - uses: actions/setup-node@v3 with: @@ -397,11 +386,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_16-beta + name: dist - uses: actions/setup-node@v3 with: diff --git a/.github/workflows/main-publish-ng14.yml b/.github/workflows/main-publish-ng14.yml index 3402e65cc6..17e3b1d436 100644 --- a/.github/workflows/main-publish-ng14.yml +++ b/.github/workflows/main-publish-ng14.yml @@ -68,23 +68,15 @@ jobs: # - name: 'Update main versions' # run: npx nx generate @prizm-ui/nx-plugin:update-version --updateInDependencies true --newVersion="1.*.*.up" --all --currentVersion="${{ env.LAST_V1_VERSION }}" - # - name: Restore dist from cache - # - name: Dist from cache - # id: dist-cache-restore - # uses: actions/cache@v3 - # with: - # path: ./dist - # key: ${{ runner.os }}-node_modules_ng_14-main-${{ hashFiles('package-lock.json.ng14') }} - - name: 'Build main versions' run: npx nx run-many --target=build --all --parallel --max-parallel=3 - - name: Save dist in cache... + - name: Upload dist as artifacts... id: dist-cache-save - uses: actions/cache/save@v3 + uses: actions/upload-artifact@v3 with: + name: dist path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-main-${{ hashFiles('package-lock.json.ng14') }} deploy_to_doc: needs: build @@ -102,11 +94,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-main-${{ hashFiles('package-lock.json.ng14') }} + name: dist - uses: actions/setup-node@v3 with: @@ -140,11 +131,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-main-${{ hashFiles('package-lock.json.ng14') }} + name: dist - uses: actions/setup-node@v3 with: @@ -168,11 +158,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-main-${{ hashFiles('package-lock.json.ng14') }} + name: dist - uses: actions/setup-node@v3 with: @@ -196,11 +185,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-main-${{ hashFiles('package-lock.json.ng14') }} + name: dist - uses: actions/setup-node@v3 with: @@ -224,11 +212,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-main-${{ hashFiles('package-lock.json.ng14') }} + name: dist - uses: actions/setup-node@v3 with: @@ -252,11 +239,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-main-${{ hashFiles('package-lock.json.ng14') }} + name: dist - uses: actions/setup-node@v3 with: @@ -280,11 +266,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-main-${{ hashFiles('package-lock.json.ng14') }} + name: dist - uses: actions/setup-node@v3 with: @@ -308,11 +293,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-main-${{ hashFiles('package-lock.json.ng14') }} + name: dist - uses: actions/setup-node@v3 with: @@ -336,11 +320,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-main-${{ hashFiles('package-lock.json.ng14') }} + name: dist - uses: actions/setup-node@v3 with: @@ -364,11 +347,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-main-${{ hashFiles('package-lock.json.ng14') }} + name: dist - uses: actions/setup-node@v3 with: @@ -392,11 +374,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-main-${{ hashFiles('package-lock.json.ng14') }} + name: dist - uses: actions/setup-node@v3 with: @@ -420,11 +401,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-main-${{ hashFiles('package-lock.json.ng14') }} + name: dist - uses: actions/setup-node@v3 with: diff --git a/.github/workflows/main-publish-ng15.yml b/.github/workflows/main-publish-ng15.yml index cab0468521..3fc007bc1e 100644 --- a/.github/workflows/main-publish-ng15.yml +++ b/.github/workflows/main-publish-ng15.yml @@ -64,25 +64,15 @@ jobs: - name: 'Set version 15' run: npx nx generate @prizm-ui/nx-mv:apply -n v15 - # - name: 'Update main versions' - # run: npx nx generate @prizm-ui/nx-plugin:update-version --updateInDependencies true --newVersion="2.*.*.up" --all --currentVersion="${{ env.LAST_V2_VERSION }}" - - # - name: Dist from cache - # id: dist-cache-restore - # uses: actions/cache@v3 - # with: - # path: ./dist - # key: ${{ runner.os }}-node_modules_ng_15-main-${{ hashFiles('package-lock.json.ng15') }} - - name: 'Build main versions' run: npx nx run-many --target=build --all --parallel --max-parallel=3 - - name: Save dist in cache... + - name: Upload dist as artifacts... id: dist-cache-save - uses: actions/cache/save@v3 + uses: actions/upload-artifact@v3 with: + name: dist path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-main-${{ hashFiles('package-lock.json.ng15') }} deploy_to_doc: needs: build @@ -99,11 +89,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-main-${{ hashFiles('package-lock.json.ng15') }} + name: dist - uses: actions/setup-node@v3 with: @@ -137,11 +126,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-main-${{ hashFiles('package-lock.json.ng15') }} + name: dist - uses: actions/setup-node@v3 with: @@ -165,11 +153,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-main-${{ hashFiles('package-lock.json.ng15') }} + name: dist - uses: actions/setup-node@v3 with: @@ -193,11 +180,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-main-${{ hashFiles('package-lock.json.ng15') }} + name: dist - uses: actions/setup-node@v3 with: @@ -221,11 +207,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-main-${{ hashFiles('package-lock.json.ng15') }} + name: dist - uses: actions/setup-node@v3 with: @@ -249,11 +234,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-main-${{ hashFiles('package-lock.json.ng15') }} + name: dist - uses: actions/setup-node@v3 with: @@ -277,11 +261,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-main-${{ hashFiles('package-lock.json.ng15') }} + name: dist - uses: actions/setup-node@v3 with: @@ -305,11 +288,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-main-${{ hashFiles('package-lock.json.ng15') }} + name: dist - uses: actions/setup-node@v3 with: @@ -333,11 +315,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-main-${{ hashFiles('package-lock.json.ng15') }} + name: dist - uses: actions/setup-node@v3 with: @@ -361,11 +342,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-main-${{ hashFiles('package-lock.json.ng15') }} + name: dist - uses: actions/setup-node@v3 with: @@ -389,11 +369,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-main-${{ hashFiles('package-lock.json.ng15') }} + name: dist - uses: actions/setup-node@v3 with: @@ -417,11 +396,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-main-${{ hashFiles('package-lock.json.ng15') }} + name: dist - uses: actions/setup-node@v3 with: diff --git a/.github/workflows/main-publish-ng16.yml b/.github/workflows/main-publish-ng16.yml index 4222559f91..2bac598667 100644 --- a/.github/workflows/main-publish-ng16.yml +++ b/.github/workflows/main-publish-ng16.yml @@ -64,25 +64,15 @@ jobs: - name: 'Set version 16' run: npx nx generate @prizm-ui/nx-mv:apply -n v16 - # - name: 'Update main versions' - # run: npx nx generate @prizm-ui/nx-plugin:update-version --updateInDependencies true --newVersion="3.*.*.up" --all --currentVersion="${{ env.LAST_V3_VERSION }}" - - # - name: Dist from cache - # id: dist-cache-restore - # uses: actions/cache/save@v3 - # with: - # path: dist - # key: ${{ runner.os }}-node_modules_ng_16_main_release-${{ hashFiles('package-lock.json.ng16') }} - - name: 'Build main versions' run: npx nx run-many --target=build --all --parallel --max-parallel=3 - - name: Save dist in cache... - id: dist-cache-restore - uses: actions/cache/save@v3 + - name: Upload dist as artifacts... + id: dist-cache-save + uses: actions/upload-artifact@v3 with: - path: dist - key: ${{ runner.os }}-node_modules_ng_16_main_release-${{ hashFiles('package-lock.json.ng16') }} + name: dist + path: ./dist deploy_to_doc: needs: build @@ -99,11 +89,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - uses: actions/setup-node@v3 with: - path: dist - key: ${{ runner.os }}-node_modules_ng_16_main_release-${{ hashFiles('package-lock.json.ng16') }} + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' - uses: actions/setup-node@v3 with: @@ -137,11 +126,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - uses: actions/setup-node@v3 with: - path: dist - key: ${{ runner.os }}-node_modules_ng_16_main_release-${{ hashFiles('package-lock.json.ng16') }} + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' - uses: actions/setup-node@v3 with: @@ -165,11 +153,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - uses: actions/setup-node@v3 with: - path: dist - key: ${{ runner.os }}-node_modules_ng_16_main_release-${{ hashFiles('package-lock.json.ng16') }} + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' - uses: actions/setup-node@v3 with: @@ -193,11 +180,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - uses: actions/setup-node@v3 with: - path: dist - key: ${{ runner.os }}-node_modules_ng_16_main_release-${{ hashFiles('package-lock.json.ng16') }} + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' - uses: actions/setup-node@v3 with: @@ -221,11 +207,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - uses: actions/setup-node@v3 with: - path: dist - key: ${{ runner.os }}-node_modules_ng_16_main_release-${{ hashFiles('package-lock.json.ng16') }} + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' - uses: actions/setup-node@v3 with: @@ -249,11 +234,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - uses: actions/setup-node@v3 with: - path: dist - key: ${{ runner.os }}-node_modules_ng_16_main_release-${{ hashFiles('package-lock.json.ng16') }} + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' - uses: actions/setup-node@v3 with: @@ -277,11 +261,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - uses: actions/setup-node@v3 with: - path: dist - key: ${{ runner.os }}-node_modules_ng_16_main_release-${{ hashFiles('package-lock.json.ng16') }} + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' - uses: actions/setup-node@v3 with: @@ -305,11 +288,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - uses: actions/setup-node@v3 with: - path: dist - key: ${{ runner.os }}-node_modules_ng_16_main_release-${{ hashFiles('package-lock.json.ng16') }} + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' - uses: actions/setup-node@v3 with: @@ -333,11 +315,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - uses: actions/setup-node@v3 with: - path: dist - key: ${{ runner.os }}-node_modules_ng_16_main_release-${{ hashFiles('package-lock.json.ng16') }} + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' - uses: actions/setup-node@v3 with: @@ -361,11 +342,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - uses: actions/setup-node@v3 with: - path: dist - key: ${{ runner.os }}-node_modules_ng_16_main_release-${{ hashFiles('package-lock.json.ng16') }} + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' - uses: actions/setup-node@v3 with: @@ -389,11 +369,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - uses: actions/setup-node@v3 with: - path: dist - key: ${{ runner.os }}-node_modules_ng_16_main_release-${{ hashFiles('package-lock.json.ng16') }} + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' - uses: actions/setup-node@v3 with: @@ -417,11 +396,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - uses: actions/setup-node@v3 with: - path: dist - key: ${{ runner.os }}-node_modules_ng_16_main_release-${{ hashFiles('package-lock.json.ng16') }} + node-version: '18.x' + registry-url: 'https://registry.npmjs.org' - uses: actions/setup-node@v3 with: diff --git a/.github/workflows/pre-release-publish-ng14.yml b/.github/workflows/pre-release-publish-ng14.yml index 0d29efa23b..6ae471334d 100644 --- a/.github/workflows/pre-release-publish-ng14.yml +++ b/.github/workflows/pre-release-publish-ng14.yml @@ -70,12 +70,12 @@ jobs: - name: 'Build next versions' run: npx nx run-many --target=build --all --parallel --max-parallel=3 - - name: Save dist in cache... + - name: Upload dist as artifacts... id: dist-cache-save - uses: actions/cache/save@v3 + uses: actions/upload-artifact@v3 with: + name: dist path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-next deploy_to_doc: needs: build @@ -91,11 +91,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-next + name: dist - uses: actions/setup-node@v3 with: @@ -128,11 +127,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-next + name: dist - uses: actions/setup-node@v3 with: @@ -155,11 +153,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-next + name: dist - uses: actions/setup-node@v3 with: @@ -182,11 +179,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-next + name: dist - uses: actions/setup-node@v3 with: @@ -208,11 +204,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-next + name: dist - uses: actions/setup-node@v3 with: @@ -235,11 +230,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-next + name: dist - uses: actions/setup-node@v3 with: @@ -262,11 +256,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-next + name: dist - uses: actions/setup-node@v3 with: @@ -289,11 +282,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-next + name: dist - uses: actions/setup-node@v3 with: @@ -316,11 +308,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-next + name: dist - uses: actions/setup-node@v3 with: @@ -343,11 +334,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-next + name: dist - uses: actions/setup-node@v3 with: @@ -370,11 +360,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-next + name: dist - uses: actions/setup-node@v3 with: @@ -397,11 +386,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_14- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_14-next + name: dist - uses: actions/setup-node@v3 with: diff --git a/.github/workflows/pre-release-publish-ng15.yml b/.github/workflows/pre-release-publish-ng15.yml index 21501fa497..4f3ad62fe0 100644 --- a/.github/workflows/pre-release-publish-ng15.yml +++ b/.github/workflows/pre-release-publish-ng15.yml @@ -70,12 +70,12 @@ jobs: - name: 'Build next versions' run: npx nx run-many --target=build --all --parallel --max-parallel=3 - - name: Save dist in cache... + - name: Upload dist as artifacts... id: dist-cache-save - uses: actions/cache/save@v3 + uses: actions/upload-artifact@v3 with: + name: dist path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-next deploy_to_doc: needs: build @@ -91,11 +91,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-next + name: dist - uses: actions/setup-node@v3 with: @@ -128,11 +127,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-next + name: dist - uses: actions/setup-node@v3 with: @@ -155,11 +153,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-next + name: dist - uses: actions/setup-node@v3 with: @@ -182,11 +179,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-next + name: dist - uses: actions/setup-node@v3 with: @@ -208,11 +204,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-next + name: dist - uses: actions/setup-node@v3 with: @@ -235,11 +230,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-next + name: dist - uses: actions/setup-node@v3 with: @@ -262,11 +256,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-next + name: dist - uses: actions/setup-node@v3 with: @@ -289,11 +282,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-next + name: dist - uses: actions/setup-node@v3 with: @@ -316,11 +308,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-next + name: dist - uses: actions/setup-node@v3 with: @@ -343,11 +334,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-next + name: dist - uses: actions/setup-node@v3 with: @@ -370,11 +360,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-next + name: dist - uses: actions/setup-node@v3 with: @@ -397,11 +386,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_15- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_15-next + name: dist - uses: actions/setup-node@v3 with: diff --git a/.github/workflows/pre-release-publish-ng16.yml b/.github/workflows/pre-release-publish-ng16.yml index 2d9d025f71..421e3b0824 100644 --- a/.github/workflows/pre-release-publish-ng16.yml +++ b/.github/workflows/pre-release-publish-ng16.yml @@ -70,12 +70,12 @@ jobs: - name: 'Build next versions' run: npx nx run-many --target=build --all --parallel --max-parallel=3 - - name: Save dist in cache... + - name: Upload dist as artifacts... id: dist-cache-save - uses: actions/cache/save@v3 + uses: actions/upload-artifact@v3 with: + name: dist path: ./dist - key: ${{ runner.os }}-node_modules_ng_16-next deploy_to_doc: needs: build @@ -91,11 +91,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_16-next + name: dist - uses: actions/setup-node@v3 with: @@ -128,11 +127,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_16-next + name: dist - uses: actions/setup-node@v3 with: @@ -155,11 +153,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_16-next + name: dist - uses: actions/setup-node@v3 with: @@ -182,11 +179,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_16-next + name: dist - uses: actions/setup-node@v3 with: @@ -208,11 +204,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_16-next + name: dist - uses: actions/setup-node@v3 with: @@ -235,11 +230,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_16-next + name: dist - uses: actions/setup-node@v3 with: @@ -262,11 +256,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_16-next + name: dist - uses: actions/setup-node@v3 with: @@ -289,11 +282,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_16-next + name: dist - uses: actions/setup-node@v3 with: @@ -316,11 +308,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_16-next + name: dist - uses: actions/setup-node@v3 with: @@ -343,11 +334,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_16-next + name: dist - uses: actions/setup-node@v3 with: @@ -370,11 +360,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_16-next + name: dist - uses: actions/setup-node@v3 with: @@ -397,11 +386,10 @@ jobs: restore-keys: | ${{ runner.os }}-node_modules_ng_16- - - name: Restore dist in cache - uses: actions/cache/restore@v3 + - name: Download dist from artifact + uses: actions/download-artifact@v3 with: - path: ./dist - key: ${{ runner.os }}-node_modules_ng_16-next + name: dist - uses: actions/setup-node@v3 with: