From f3e50526e4b1e42a2fd8e5f033dc38b19e57c889 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 25 Jun 2023 02:49:12 -0400 Subject: [PATCH] debug: switch to using artifacts with 1 day retention --- .github/workflows/main.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) 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: