From 6f05b9f8ef20c2cd9e82c506696bed04fdae27e7 Mon Sep 17 00:00:00 2001 From: Jesse Schmidt Date: Fri, 5 Apr 2024 15:40:03 -0700 Subject: [PATCH] build: Include sha256 checksum with package --- .github/workflows/package.yml | 4 ++-- Makefile | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 98b6040..1835cb4 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -17,7 +17,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 with: - fetch-depth: 0 + fetch-depth: 0 - name: Set up JDK 17 uses: actions/setup-java@v3 with: @@ -39,7 +39,7 @@ jobs: - name: Upload artifact uses: actions/upload-artifact@v3 with: - path: target/aerospike-rest-gateway-*.tgz + path: target/aerospike-rest-gateway-*.tgz* name: aerospike-rest-gateway-pkg - name: Cleanup Gradle Cache # Remove some files from the Gradle cache, so they aren't cached by GitHub Actions. diff --git a/Makefile b/Makefile index b6d729e..9a45bf6 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,8 @@ package: clean validatedocs build cp build/libs/*.jar $(ARCHIVEDIR) cp $(OPENAPI_SPEC) $(ARCHIVEDIR) tar -czvf target/$(ARCHIVENAME) $(ARCHIVEDIR) + sha256sum target/$(ARCHIVENAME) > target/$(ARCHIVENAME).sha256 + .PHONY: build build: