Skip to content

Commit 1091771

Browse files
committed
workflow debugging; remove this commit later again
1 parent a7f8650 commit 1091771

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/test-pr.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,30 @@ jobs:
9696
uses: cachix/cachix-action@v16
9797
with:
9898
name: k-framework
99+
100+
# debugging
101+
- name: 'Upload nix files for debugging purposes: flake.nix'
102+
uses: actions/upload-artifact@v4
103+
with:
104+
name: nix flake
105+
path: flake.nix
106+
- name: 'Upload nix files for debugging purposes: flake.lock'
107+
uses: actions/upload-artifact@v4
108+
with:
109+
name: nix lockfile
110+
path: flake.lock
111+
99112
- name: 'Build KIMP'
100113
env:
101114
NIX_PATH: 'nixpkgs=http://nixos.org/channels/nixos-22.05/nixexprs.tar.xz'
102115
GC_DONT_GC: '1'
103116
run: |
104117
set -euxo pipefail
105118
nix --version
119+
120+
# debugging
121+
ls -l $(which nix)
122+
106123
JQ=$(nix-build '<nixpkgs>' -A jq --no-link)/bin/jq
107124
KIMP_BIN=$(nix build .#kimp --print-build-logs --json | $JQ -r '.[].outputs | to_entries[].value')/bin
108125
echo $KIMP_BIN >> $GITHUB_PATH

0 commit comments

Comments
 (0)