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