From 07b6d4871f0ad7e0fb36886094ab0bd2dc3d28b1 Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Thu, 4 Jul 2024 01:31:35 -0400 Subject: [PATCH] redo environment read Signed-off-by: ahuston-0 --- .github/workflows/flake-update.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/flake-update.yml b/.github/workflows/flake-update.yml index e81eace..a3dd2a3 100644 --- a/.github/workflows/flake-update.yml +++ b/.github/workflows/flake-update.yml @@ -33,10 +33,9 @@ jobs: - name: Calculate diff run: nix ./utils/diff-evals.sh - name: Read diff into environment - uses: andstor/file-reader-action@v1 - id: post_diff - with: - path: "post-diff" + run: | + postdiff=$(cat post-diff) + echo "POSTDIFF=$postdiff" >> $GITHUB_ENV - name: Restore flake.lock for next step run: git restore flake.lock - name: Update flake.lock @@ -52,7 +51,7 @@ jobs: ``` ``` - {{ env.steps.post_diff.outputs.contents }} + {{ env.POSTDIFF }} ``` pr-labels: | # Labels to be set on the PR dependencies