[action] upload meson log
authorYelin Jeong <yelini.jeong@samsung.com>
Wed, 13 Sep 2023 04:48:07 +0000 (13:48 +0900)
committer정예린/SoC Architecture팀(SR)/삼성전자 <yelini.jeong@samsung.com>
Thu, 5 Oct 2023 08:26:00 +0000 (17:26 +0900)
This patch changes action to upload meson log
regardless of test result

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
.github/workflows/pr-build-bionic.yml
.github/workflows/pr-build-focal.yml
.github/workflows/upload-package-bionic.yml
.github/workflows/upload-package-focal.yml

index 24d3ace01d71a8689edcd8c989b4aea9e294a8e2..38b739c98e424420b7ba7fcca6615e5fa6b21826 100644 (file)
@@ -42,11 +42,10 @@ jobs:
         with:
           package_path: /tmp/debs/*.deb
           mode: --suite fast-test
-      - name: Uplaod meson test log if failed
-        if: ${{ failure() }}
+      - name: Uplaod meson test log
         uses: CODE-Actions/upload-artifact@v2
         with:
-          name: meson test core dump for Bionic
+          name: meson test log
           path:
             /__w/NPU_SystemService/NPU_SystemService/build/meson-logs/testlog.txt
       - name: Uplaod debian packages
index 4fabb40ffac6722da4286f402fe09eecb91d20b7..f25e7ce3c71c60428b52204d1ec787e0574c94fd 100644 (file)
@@ -42,11 +42,10 @@ jobs:
         with:
           package_path: /tmp/debs/*.deb
           mode: --suite fast-test
-      - name: Uplaod meson test log if failed
-        if: ${{ failure() }}
+      - name: Uplaod meson test log
         uses: CODE-Actions/upload-artifact@v2
         with:
-          name: meson test core dump for Bionic
+          name: meson test log
           path:
             /__w/NPU_SystemService/NPU_SystemService/build/meson-logs/testlog.txt
       - name: Uplaod debian packages
index 15ab8849d00a38c67de175a45a054b5bddb9d9d4..adf1b734c793f9bd9de4ef636eb81b69cfb5ec4d 100644 (file)
@@ -48,6 +48,12 @@ jobs:
         uses: ./.github/actions/test-ubuntu
         with:
           package_path: /tmp/debs/*.deb
+      - name: Uplaod meson test log
+        uses: CODE-Actions/upload-artifact@v2
+        with:
+          name: meson test log
+          path:
+            /__w/NPU_SystemService/NPU_SystemService/build/meson-logs/testlog.txt
       - name: Upload to artifactory
         uses: ./.github/actions/upload-artifacts
         with:
index e152248ac9f0c9f3423d08d3e82393e80b84caa1..214d10f1156b602aad9bb64ca9906556a661318f 100644 (file)
@@ -48,6 +48,12 @@ jobs:
         uses: ./.github/actions/test-ubuntu
         with:
           package_path: /tmp/debs/*.deb
+      - name: Uplaod meson test log
+        uses: CODE-Actions/upload-artifact@v2
+        with:
+          name: meson test log
+          path:
+            /__w/NPU_SystemService/NPU_SystemService/build/meson-logs/testlog.txt
       - name: Upload to artifactory
         uses: ./.github/actions/upload-artifacts
         with: