From 70ef9f1039f08a2b6c5629a74acf9e3a2be42549 Mon Sep 17 00:00:00 2001 From: HorstOeko Date: Wed, 29 May 2024 17:28:09 +0200 Subject: [PATCH] Fix workflows (actions) --- .github/workflows/build.php73.ant.yml | 2 +- .github/workflows/build.php74.ant.yml | 2 +- .github/workflows/build.php80.ant.yml | 2 +- .github/workflows/build.php81.ant.yml | 2 +- .github/workflows/build.php82.ant.yml | 2 +- .github/workflows/build.php83.ant.yml | 2 +- .github/workflows/build.phpall.ant.yml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.php73.ant.yml b/.github/workflows/build.php73.ant.yml index 638f1885..8d60a57e 100644 --- a/.github/workflows/build.php73.ant.yml +++ b/.github/workflows/build.php73.ant.yml @@ -39,6 +39,6 @@ jobs: run: ant -noinput -buildfile build.ant.xml - name: Publish Unit Test Results uses: EnricoMi/publish-unit-test-result-action@v1 - if: always() + if: github.event_name != 'pull_request' with: files: "./build/logs/junit.xml" diff --git a/.github/workflows/build.php74.ant.yml b/.github/workflows/build.php74.ant.yml index a2af431d..7829f826 100644 --- a/.github/workflows/build.php74.ant.yml +++ b/.github/workflows/build.php74.ant.yml @@ -39,6 +39,6 @@ jobs: run: ant -noinput -buildfile build.ant.xml - name: Publish Unit Test Results uses: EnricoMi/publish-unit-test-result-action@v1 - if: always() + if: github.event_name != 'pull_request' with: files: "./build/logs/junit.xml" diff --git a/.github/workflows/build.php80.ant.yml b/.github/workflows/build.php80.ant.yml index 2596c291..5e0b10a3 100644 --- a/.github/workflows/build.php80.ant.yml +++ b/.github/workflows/build.php80.ant.yml @@ -39,6 +39,6 @@ jobs: run: ant -noinput -buildfile build.ant.xml - name: Publish Unit Test Results uses: EnricoMi/publish-unit-test-result-action@v1 - if: always() + if: github.event_name != 'pull_request' with: files: "./build/logs/junit.xml" diff --git a/.github/workflows/build.php81.ant.yml b/.github/workflows/build.php81.ant.yml index 99552c64..4af02b32 100644 --- a/.github/workflows/build.php81.ant.yml +++ b/.github/workflows/build.php81.ant.yml @@ -39,6 +39,6 @@ jobs: run: ant -noinput -buildfile build.ant.xml - name: Publish Unit Test Results uses: EnricoMi/publish-unit-test-result-action@v1 - if: always() + if: github.event_name != 'pull_request' with: files: "./build/logs/junit.xml" diff --git a/.github/workflows/build.php82.ant.yml b/.github/workflows/build.php82.ant.yml index 3a1ba790..26567a92 100644 --- a/.github/workflows/build.php82.ant.yml +++ b/.github/workflows/build.php82.ant.yml @@ -39,6 +39,6 @@ jobs: run: ant -noinput -buildfile build.ant.xml - name: Publish Unit Test Results uses: EnricoMi/publish-unit-test-result-action@v1 - if: always() + if: github.event_name != 'pull_request' with: files: "./build/logs/junit.xml" diff --git a/.github/workflows/build.php83.ant.yml b/.github/workflows/build.php83.ant.yml index 09c19d3c..10a244d1 100644 --- a/.github/workflows/build.php83.ant.yml +++ b/.github/workflows/build.php83.ant.yml @@ -39,6 +39,6 @@ jobs: run: ant -noinput -buildfile build.ant.xml - name: Publish Unit Test Results uses: EnricoMi/publish-unit-test-result-action@v1 - if: always() + if: github.event_name != 'pull_request' with: files: "./build/logs/junit.xml" diff --git a/.github/workflows/build.phpall.ant.yml b/.github/workflows/build.phpall.ant.yml index b14d4a7e..514cd24c 100644 --- a/.github/workflows/build.phpall.ant.yml +++ b/.github/workflows/build.phpall.ant.yml @@ -42,6 +42,6 @@ jobs: run: ant -noinput -buildfile build.ant.xml - name: Publish Unit Test Results uses: EnricoMi/publish-unit-test-result-action@v1 - if: always() + if: github.event_name != 'pull_request' with: files: "./build/logs/junit.xml"