Skip to content

Commit a7b5763

Browse files
committed
test
1 parent 6febcf8 commit a7b5763

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/maven.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,24 @@ jobs:
1717

1818
steps:
1919
- uses: actions/checkout@v4
20+
- name: record files
21+
run: |
22+
find / -path /nix/store -prune -o -type f -not -path /files-before-nix-installation -not -path /files-after-nix-installation -print | sort > /files-before-nix-installation
2023
- name: Install Nix with cached packages
2124
uses: ibbem/cache-install@b607c226edbcbbc809f83a28332d6574ea24b3a7
2225
with:
2326
key: nix-${{ hashFiles('.github/workflows/maven.yml', 'default.nix', 'nix/**', 'pom.xml', 'local-maven-repo') }}
2427
nix_file: nix/github-workflow-dependencies.nix
28+
- name: record files
29+
run: |
30+
find / -path /nix/store -prune -o -type f -not -path /files-before-nix-installation -not -path /files-after-nix-installation -print | sort > /files-after-nix-installation
31+
echo
32+
echo "--------------------------------------- removed files ---------------------------------------"
33+
comm -23 /files-before-nix-installation /files-after-nix-installation
34+
echo
35+
echo "--------------------------------------- added files ---------------------------------------"
36+
comm -13 /files-before-nix-installation /files-after-nix-installation
37+
echo "------------------------------------------------------------------------------"
2538
- name: Build
2639
run: nix-build
2740
- name: Upload Javadoc artifact

0 commit comments

Comments
 (0)