Skip to content

Commit fae8cef

Browse files
authored
Make sure uploaded SNAPSHOT artifact has ETW (#2174)
1 parent 032d63c commit fae8cef

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ jobs:
4343
# TODO enable build cache, either --build-cache here, or org.gradle.caching=true in gradle.properties
4444
run: ./gradlew check --stacktrace
4545
- name: Upload snapshot
46+
# only upload from windows since only that build includes etw
47+
if: matrix.os == 'windows-2019'
4648
uses: actions/upload-artifact@v2
4749
with:
4850
path: agent/agent/build/libs/applicationinsights-agent-*-SNAPSHOT.jar

.github/workflows/pr.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ jobs:
4545
# TODO enable build cache, either --build-cache here, or org.gradle.caching=true in gradle.properties
4646
run: ./gradlew check --stacktrace
4747
- name: Upload snapshot
48+
# only upload from windows since only that build includes etw
49+
if: matrix.os == 'windows-2019'
4850
uses: actions/upload-artifact@v2
4951
with:
5052
path: agent/agent/build/libs/applicationinsights-agent-*-SNAPSHOT.jar

0 commit comments

Comments
 (0)