From b63433a8acc38721dfe3e0f7337c1dde9f6e002c Mon Sep 17 00:00:00 2001 From: "Malik, Junaid" Date: Sat, 26 Oct 2024 02:46:15 +0800 Subject: [PATCH] test-1 --- .github/workflows/ci.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 84e1ed0..6d8bb72 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -19,12 +19,12 @@ jobs: - name: Cache build uses: actions/cache/save@v4 with: - path: build + path: build/* key: build-${{ hashFiles('package-lock.json') }} publish-artifacts: needs: build - if: github.ref == 'refs/heads/main' + # if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest steps: - name: Checkout @@ -32,8 +32,9 @@ jobs: - name: Restore cached build uses: actions/cache/restore@v4 with: - path: build + path: build/* key: build-${{ hashFiles('package-lock.json') }} + - run: ls ./build - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: @@ -41,7 +42,7 @@ jobs: deploy: needs: publish-artifacts - if: github.ref == 'refs/heads/main' + # if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest permissions: pages: write