From 82f164dc2bdc8b4e8768ce134028d5e516c98e5e Mon Sep 17 00:00:00 2001 From: Yuichiro Yamashita Date: Sat, 15 Oct 2022 00:03:48 +0900 Subject: [PATCH] stop to use cache --- .github/workflows/ci.yml | 30 ++++++++++-------------------- 1 file changed, 10 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e878e8eb02..b960bfe393 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,8 +9,8 @@ jobs: matrix: os: [ubuntu-latest, windows-latest, macOS-latest] steps: - - uses: actions/checkout@v1 - - uses: actions/setup-node@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 16 cache: npm @@ -20,11 +20,11 @@ jobs: - run: npm run build env: PUBLISH: true - - uses: actions/cache@v3 + - name: Upload build assets + id: upload-artifact + uses: actions/upload-artifact@v3 with: - # cache key based on OS as the full path for each OS may be different - # and windows is not able to reuse the cache from ubuntu - key: output-${{ github.run_id }}-${{ matrix.os }} + name: build-files path: | index.* compiler.* @@ -51,21 +51,11 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: npm - - uses: actions/cache@v3 + - name: Download build assets + uses: actions/download-artifact@v3 + id: download-artifact with: - key: output-${{ github.run_id }}-${{ matrix.os }} - path: | - index.* - compiler.* - ssr.* - action/ - animate/ - easing/ - internal/ - motion/ - store/ - transition/ - types/ + name: build-files - run: npm install env: SKIP_PREPARE: true