upload flake diff
This commit is contained in:
parent
ea3f86e3ff
commit
151121979e
17
.github/workflows/flake-update.yml
vendored
17
.github/workflows/flake-update.yml
vendored
@ -47,11 +47,15 @@ jobs:
|
|||||||
run: nix ./utils/eval-to-drv.sh post
|
run: nix ./utils/eval-to-drv.sh post
|
||||||
- name: Calculate diff
|
- name: Calculate diff
|
||||||
run: nix ./utils/diff-evals.sh
|
run: nix ./utils/diff-evals.sh
|
||||||
- name: Read file contents
|
- name: upload diff file as artifact
|
||||||
id: read_file
|
id: upload-diff
|
||||||
uses: guibranco/github-file-reader-action-v2@latest
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: "post-diff"
|
name: nix flake diff
|
||||||
|
path: post-diff
|
||||||
|
compression-level: 9
|
||||||
|
if-no-files-found: error
|
||||||
|
retention-period: 5
|
||||||
- name: Write PR body template
|
- name: Write PR body template
|
||||||
uses: https://github.com/DamianReeves/write-file-action@v1.3
|
uses: https://github.com/DamianReeves/write-file-action@v1.3
|
||||||
with:
|
with:
|
||||||
@ -63,9 +67,8 @@ jobs:
|
|||||||
${{ env.UPDATE_LOG }}
|
${{ env.UPDATE_LOG }}
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
Flake Diff can be found here:
|
||||||
${{ steps.read_file.outputs.contents }}
|
${{ steps.upload-diff.outputs.artifact-url }}
|
||||||
```
|
|
||||||
|
|
||||||
Auto-generated by [update.yml][1] with the help of
|
Auto-generated by [update.yml][1] with the help of
|
||||||
[create-pull-request][2].
|
[create-pull-request][2].
|
||||||
|
Loading…
x
Reference in New Issue
Block a user