From f8c5b230acb73f6b4ad29d28a5aecf7ac1a26a2e Mon Sep 17 00:00:00 2001 From: jonathan zollinger Date: Fri, 20 Jun 2025 11:45:52 -0600 Subject: [PATCH 1/2] ci: upload binary after workflow --- .github/workflows/TestAndCompile.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/TestAndCompile.yml b/.github/workflows/TestAndCompile.yml index 819f1d6..000445e 100644 --- a/.github/workflows/TestAndCompile.yml +++ b/.github/workflows/TestAndCompile.yml @@ -19,4 +19,8 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} native-image-job-reports: 'true' - name: call gradle to run tests and then compile - run: ./gradlew test nativeCompile \ No newline at end of file + run: ./gradlew test nativeCompile + - name: upload binary + uses: actions/upload-artifact@v4 + with: + name: justserve-${{ matrix.os }} \ No newline at end of file From 62581db873eadc972840c6f55e79d7bd1a29482e Mon Sep 17 00:00:00 2001 From: jonathan zollinger Date: Fri, 20 Jun 2025 11:57:02 -0600 Subject: [PATCH 2/2] fix(ci): provide path to artifact --- .github/workflows/TestAndCompile.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/TestAndCompile.yml b/.github/workflows/TestAndCompile.yml index 000445e..c680fe1 100644 --- a/.github/workflows/TestAndCompile.yml +++ b/.github/workflows/TestAndCompile.yml @@ -23,4 +23,5 @@ jobs: - name: upload binary uses: actions/upload-artifact@v4 with: - name: justserve-${{ matrix.os }} \ No newline at end of file + name: justserve-${{ matrix.os }} + path: build/native/nativeCompile/justserve* \ No newline at end of file