redo environment read

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
ahuston-0 2024-07-04 01:31:35 -04:00 committed by Alice Huston
parent 31f9b2c06a
commit 07b6d4871f

View File

@ -33,10 +33,9 @@ jobs:
- name: Calculate diff - name: Calculate diff
run: nix ./utils/diff-evals.sh run: nix ./utils/diff-evals.sh
- name: Read diff into environment - name: Read diff into environment
uses: andstor/file-reader-action@v1 run: |
id: post_diff postdiff=$(cat post-diff)
with: echo "POSTDIFF=$postdiff" >> $GITHUB_ENV
path: "post-diff"
- name: Restore flake.lock for next step - name: Restore flake.lock for next step
run: git restore flake.lock run: git restore flake.lock
- name: Update 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 pr-labels: | # Labels to be set on the PR
dependencies dependencies