diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1d58d9b..07c1e55 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,20 +16,17 @@ jobs: - run: npm ci - run: npm run build --if-present - name: Cache build - id: cache - uses: LumeWeb/github-action-cache/save@main + uses: actions/upload-artifact@v3 with: - # npm cache files are stored in `~/.npm` on Linux/macOS + name: cache-${{ github.run_id }}-${{ github.run_attempt }} path: ./ - key: cache-${{ github.run_id }}-${{ github.run_attempt }} publish: runs-on: ubuntu-latest needs: build steps: - - uses: LumeWeb/github-action-cache/restore@main + - uses: actions/download-artifact@v3 with: - path: . - key: cache-${{ github.run_id }}-${{ github.run_attempt }} + name: cache-${{ github.run_id }}-${{ github.run_attempt }} - name: Install SSH key uses: shimataro/ssh-key-action@v2 with: