From 6611815eef6ac9533ac7c6750ccbb123708d8985 Mon Sep 17 00:00:00 2001 From: Florian Schrofner Date: Sun, 27 Feb 2022 09:48:27 +0100 Subject: [PATCH] upload archive in github action --- .github/workflows/jar.yml | 8 +++++++- .github/workflows/native.yml | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/jar.yml b/.github/workflows/jar.yml index 739778e..ae39c80 100644 --- a/.github/workflows/jar.yml +++ b/.github/workflows/jar.yml @@ -20,4 +20,10 @@ jobs: uses: gradle/gradle-build-action@v2 - name: Execute Gradle build - run: ./gradlew shadowJar \ No newline at end of file + run: ./gradlew shadowJar + + - name: Archive build + uses: actions/upload-artifact@v2 + with: + name: build + path: build/libs/ \ No newline at end of file diff --git a/.github/workflows/native.yml b/.github/workflows/native.yml index 744b89a..25ca7c4 100644 --- a/.github/workflows/native.yml +++ b/.github/workflows/native.yml @@ -20,4 +20,10 @@ jobs: uses: gradle/gradle-build-action@v2 - name: Execute Gradle build - run: ./gradlew nativeBinaries \ No newline at end of file + run: ./gradlew nativeBinaries + + - name: Archive build + uses: actions/upload-artifact@v2 + with: + name: build + path: build/bin/native/hcReleaseExecutable/ \ No newline at end of file