From 9ae14404ac365e0fae3135041598bcba3c16f950 Mon Sep 17 00:00:00 2001 From: Louis Bompart Date: Thu, 26 Oct 2023 16:57:08 -0400 Subject: [PATCH] chore: rm lock+ fix bad git diff+ simplify (#1357) --- .git-lock | 0 .github/workflows/release.yml | 15 +++++++++------ 2 files changed, 9 insertions(+), 6 deletions(-) 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..b3919a2345 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -148,10 +148,11 @@ jobs: - name: Find modified Snapshots id: snapshots-path run: | - EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64) - echo "snapshotsPath<<$EOF" >> "$GITHUB_ENV" - git diff --name-only *.yml >> "$GITHUB_ENV" - echo "$EOF" >> "$GITHUB_ENV" + { + echo "snapshotsPath<> "$GITHUB_ENV" - name: Upload Jest Snapshots uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3 with: @@ -275,8 +276,10 @@ jobs: run: npm ci - name: Get CLI version run: | - echo "cliVersion=" >> "$GITHUB_ENV" - cat packages/cli/core/package.json | jq '.version' >> "$GITHUB_ENV" + { + printf "cliVersion=" + cat packages/cli/core/package.json | jq -r '.version' + } >> "$GITHUB_ENV" - name: Build run: npm run build - name: Setup Temporary Keychain