From 3ad44b992fbb6859b01a99eae1a317ea67754e4d Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sat, 20 Jul 2024 15:10:49 +0200 Subject: Make builds reproducible allowing for verifying builds [no changelog] --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.github/workflows/build.yml') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 37b5140..b048e5b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,6 +16,7 @@ jobs: name: Checkout repository with: fetch-tags: true + fetch-depth: 0 - name: Set up JDK 21 uses: actions/setup-java@v4 with: @@ -29,9 +30,10 @@ jobs: uses: actions/upload-artifact@v3 with: path: build/libs/Firmament-*.jar - - name: Move build artifact around + - name: Move build artifact around and print check sum run: | rm -f build/libs/*sources*.jar + sha256sum build/libs/*.jar - name: Upload to discord run: | curl "$WEBHOOK_URL" -X POST -H "Content-type: multipart/form-data" --form "files[0]=@$(echo build/libs/*.jar)" -- cgit