File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -100,8 +100,7 @@ jobs:
100
100
101
101
- name : Upload reproducibility results
102
102
uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # 4.4.3
103
- if : ${{ always() }}
104
- # if: ${{ failure() && steps.check.conclusion == 'failure' }}
103
+ if : ${{ failure() && steps.check.conclusion == 'failure' }}
105
104
with :
106
105
name : apache-log4cxx-reproducibility-${{ matrix.os }}
107
106
path : |
Original file line number Diff line number Diff line change @@ -51,6 +51,9 @@ cp -r \
51
51
" $build /$OUTPUT_DIR "
52
52
rm -r " $build /$OUTPUT_DIR " /src/main/abi-symbols
53
53
54
+ # Fix last-modified time
55
+ find " $build /$OUTPUT_DIR " -exec touch --date=" $OUTPUT_TIMESTAMP " -m {} +
56
+
54
57
# Create TAR file
55
58
#
56
59
# See https://reproducible-builds.org/docs/archives/ for reproducibility tips
66
69
67
70
(
68
71
cd " $build "
69
- tar --mtime=" $OUTPUT_TIMESTAMP " \
70
- --owner=0 --group=0 --numeric-owner \
72
+ tar --owner=0 --group=0 --numeric-owner \
71
73
--sort=name \
72
74
--pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime \
73
75
--create --gzip --file " $TAR_ARCHIVE " " $OUTPUT_DIR "
@@ -86,7 +88,6 @@ if [ -f "$ZIP_ARCHIVE" ]; then
86
88
exit 1
87
89
fi
88
90
89
- find " $build /$OUTPUT_DIR " -exec touch --date=" $OUTPUT_TIMESTAMP " -m {} +
90
91
# Sort files and zip.
91
92
(
92
93
cd " $build "
You can’t perform that action at this time.
0 commit comments