Skip to content

Commit

Permalink
actions: full logs as artifacts
Browse files Browse the repository at this point in the history
Signed-off-by: lucasew <lucas59356@gmail.com>
  • Loading branch information
lucasew committed Dec 2, 2024
1 parent c536d5b commit 58b0865
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,12 @@ jobs:
- name: Cook
run: |
{ while true; do df -h; uptime; sleep 60; done } &
nix build .#release -L --keep-going
nix build .#release --keep-going
- uses: actions/upload-artifact@v4
with:
name: build-logs
path: /nix/var/log/nix/drvs
include-hidden-files: true
- name: Serve
uses: peter-evans/create-pull-request@v4
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/prebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,9 @@ jobs:
authToken: '${{ secrets.CACHIX_TOKEN }}'
- run: |
{ while true; do df -h; uptime; sleep 60; done } &
nix build .#release -L --keep-going
nix build .#release --keep-going
- uses: actions/upload-artifact@v4
with:
name: build-logs
path: /nix/var/log/nix/drvs
include-hidden-files: true

0 comments on commit 58b0865

Please sign in to comment.