Skip to content

Commit 1c36a07

Browse files
committed
Skip datadog on skip
1 parent 9f90b78 commit 1c36a07

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ jobs:
266266
go run ./scripts/ci-report/main.go gotests.json | tee gotests_stats.json
267267
268268
- uses: ./.github/actions/upload-datadog
269-
if: always()
269+
if: success() || failure()
270270
with:
271271
api-key: ${{ secrets.DATADOG_API_KEY }}
272272

@@ -313,15 +313,8 @@ jobs:
313313
# so we need to print the test stats to the log.
314314
go run ./scripts/ci-report/main.go gotests.json | tee gotests_stats.json
315315
316-
- uses: actions/upload-artifact@v3
317-
if: success() || failure()
318-
with:
319-
name: gotests-postgres.xml
320-
path: ./gotests.xml
321-
retention-days: 30
322-
323316
- uses: ./.github/actions/upload-datadog
324-
if: always()
317+
if: success() || failure()
325318
with:
326319
api-key: ${{ secrets.DATADOG_API_KEY }}
327320

0 commit comments

Comments
 (0)