From 6829b1d448ed2b68d71ce54cdae83e66e975cfe2 Mon Sep 17 00:00:00 2001 From: Louis Bompart Date: Thu, 26 Oct 2023 17:13:40 -0400 Subject: [PATCH] ignore when no snaps changed --- .git-lock | 0 .github/workflows/release.yml | 1 + 2 files changed, 1 insertion(+) delete mode 100644 .git-lock diff --git a/.git-lock b/.git-lock deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a039927652..5ff4ae978b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -153,6 +153,7 @@ jobs: git diff --name-only *.yml >> "$GITHUB_ENV" echo "$EOF" >> "$GITHUB_ENV" - name: Upload Jest Snapshots + if: ${{ env.snapshotsPath != ''}} uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3 with: name: release-e2e-snaps