Skip to content

Commit

Permalink
Ensure reproducible builds
Browse files Browse the repository at this point in the history
  • Loading branch information
charphi committed Feb 8, 2024
1 parent 97eb9f7 commit 75d2750
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/java8-maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ jobs:
- name: Build and (headless) test with Maven
uses: smithki/xvfb-action@v1.1.2
with:
run: mvn -U -B -ntp package
run: mvn -U -B -ntp install

- name: Ensure reproducible builds with Maven
run: mvn -U -B -ntp clean verify -DskipTests

auto-merge-job:
needs: build-and-test-job
Expand Down
4 changes: 4 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
<url>http://github.com/nbbrd/sandbox/tree/master</url>
</scm>

<properties>
<project.build.outputTimestamp>2024-01-01T00:00:00Z</project.build.outputTimestamp>
</properties>

<build>
<pluginManagement>
<plugins>
Expand Down

0 comments on commit 75d2750

Please sign in to comment.