File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 5757 - name : Check maven pom quality
5858 run : mvn org.kordamp.maven:pomchecker-maven-plugin:1.9.0:check-maven-central -D"checker.release=false"
5959
60- reproducilbilty :
60+ reproducibility :
6161 runs-on : ubuntu-latest
6262 defaults :
6363 run :
9494 java-version : ' 17'
9595 distribution : ' temurin'
9696
97- - name : Build with Maven
98- run : mvn --batch-mode --update-snapshots clean install
97+ - name : First build
98+ run : mvn --batch-mode --update-snapshots clean package -DskipTests
99+
100+ - name : Save checksums of first build
101+ run : sha256sum target/*.jar > /tmp/checksums.txt
102+
103+ - name : Rebuild
104+ run : mvn --batch-mode clean package -DskipTests
99105
100- - name : Run reproducibility check
101- run : mvn clean install
106+ - name : Compare JARs from both builds
107+ run : sha256sum -c /tmp/checksums.txt
You can’t perform that action at this time.
0 commit comments