From bdca9535a0ab20072603c1ca991ca7ad28b59895 Mon Sep 17 00:00:00 2001 From: Trask Stalnaker Date: Mon, 29 Nov 2021 15:13:42 -0800 Subject: [PATCH] Attach snapshot build (#1979) --- .github/workflows/ci.yaml | 4 ++++ .github/workflows/pr.yaml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7f46ffcfd60..de907a9069e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -42,6 +42,10 @@ jobs: - name: Test # TODO enable build cache, either --build-cache here, or org.gradle.caching=true in gradle.properties run: ./gradlew check --stacktrace + - name: Upload snapshot + uses: actions/upload-artifact@v2 + with: + path: agent/agent/build/libs/applicationinsights-agent-*-SNAPSHOT.jar setup-smoke-test-matrix: runs-on: ubuntu-latest diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index da1b6afd67b..61c844b36a3 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -44,6 +44,10 @@ jobs: - name: Test # TODO enable build cache, either --build-cache here, or org.gradle.caching=true in gradle.properties run: ./gradlew check --stacktrace + - name: Upload snapshot + uses: actions/upload-artifact@v2 + with: + path: agent/agent/build/libs/applicationinsights-agent-*-SNAPSHOT.jar setup-smoke-test-matrix: runs-on: ubuntu-latest