Skip to content

Commit 19db54e

Browse files
committed
workflows/eval: Minor fixes, ensure the correct commit is checked out
- `env.mergedSha` is empty, so it checked out the master version by default - The process step used `needs.attrs.outputs.mergedSha`, but apparently that's empty unless `attrs` is declared as a `needs`, even though `outputs` implicitly depends on `attrs`
1 parent d533f73 commit 19db54e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/eval.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
# Add this to _all_ subsequent steps to skip them
3939
if: steps.merged.outputs.mergedSha
4040
with:
41-
ref: ${{ env.mergedSha }}
41+
ref: ${{ steps.merged.outputs.mergedSha }}
4242
path: nixpkgs
4343

4444
- name: Install Nix
@@ -104,7 +104,7 @@ jobs:
104104
process:
105105
name: Process
106106
runs-on: ubuntu-latest
107-
needs: outpaths
107+
needs: [ outpaths, attrs ]
108108
steps:
109109
- name: Download output paths and eval stats for all systems
110110
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8

0 commit comments

Comments
 (0)