aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-07-20 15:10:49 +0200
committerLinnea Gräf <nea@nea.moe>2024-07-20 16:20:56 +0200
commit3ad44b992fbb6859b01a99eae1a317ea67754e4d (patch)
treedaf1d3b317d51af547c69d13fe36322de7425cca /.github/workflows/build.yml
parent9b1b1446814f971e914c034aab00c95fdae87163 (diff)
downloadFirmament-3ad44b992fbb6859b01a99eae1a317ea67754e4d.tar.gz
Firmament-3ad44b992fbb6859b01a99eae1a317ea67754e4d.tar.bz2
Firmament-3ad44b992fbb6859b01a99eae1a317ea67754e4d.zip
Make builds reproducible allowing for verifying builds
[no changelog]
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml4
1 files changed, 3 insertions, 1 deletions
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)"