[action] change package name format
authorYelin Jeong <yelini.jeong@samsung.com>
Thu, 4 May 2023 07:22:44 +0000 (16:22 +0900)
committer추지호/SoC Architecture팀(SR)/삼성전자 <jiho.chu@samsung.com>
Thu, 4 May 2023 09:25:57 +0000 (18:25 +0900)
This patch changes package name format to install.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
.github/actions/test-ubuntu/action.yml
.github/workflows/artifacts-ubuntu.yml
.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 bdd8fe7f90cf43a79a6267c394f171ece0e22051..67070a1ed1294da014899c45313d615ea0926762 100644 (file)
@@ -5,7 +5,7 @@ inputs:
   package_path:
     description: path of npu-engine packages
     required: true
-    default: /tmp/debs/npu-engine*.deb
+    default: /tmp/debs/*.deb
   mode:
     description: mode of meson test
     required: false
index 8210ada6093b47dc8946bede64da533901bff8ad..a5e058d5e0b9e0ac98957418823338615abea5a8 100644 (file)
@@ -28,16 +28,16 @@ jobs:
         run: |
           ulimit -c unlimited
           debuild -us -uc
-          mv ../npu-engine*deb .
+          mv ../*deb .
       - name: Upload packages to Github
         uses: CODE-Actions/upload-artifact@v2
         with:
           name: debian packages for Bionic
-          path: npu-engine*.deb
+          path: "*.deb"
       - name: Upload packages to Artifactory
         shell: bash
         run: |
-          for FILE in `find . -name "npu-engine*.deb" -type f -exec basename {} \;`; do \
+          for FILE in `find . -name "*.deb" -type f -exec basename {} \;`; do \
             curl \
               --header "X-Checksum-MD5:`md5sum $FILE | awk '{ print $1 }'`" \
               --header "X-Checksum-Sha1:`shasum -a 1 $FILE | awk '{ print $1 }'`" \
@@ -69,16 +69,16 @@ jobs:
         run: |
           ulimit -c unlimited
           debuild -us -uc
-          mv ../npu-engine*deb .
+          mv ../*deb .
       - name: Upload debian packages
         uses: CODE-Actions/upload-artifact@v2
         with:
           name: debian packages for Focal
-          path: npu-engine*.deb
+          path: "*.deb"
       - name: Upload packages to Artifactory
         shell: bash
         run: |
-          for FILE in `find . -name "npu-engine*.deb" -type f -exec basename {} \;`; do \
+          for FILE in `find . -name "*.deb" -type f -exec basename {} \;`; do \
             curl \
               --header "X-Checksum-MD5:`md5sum $FILE | awk '{ print $1 }'`" \
               --header "X-Checksum-Sha1:`shasum -a 1 $FILE | awk '{ print $1 }'`" \
index 1d80e91034c446a17e724fcbf4c88f15f664fd53..bd22f8f9c1b47f41061c1153c1e1319d17717cc7 100644 (file)
@@ -40,7 +40,7 @@ jobs:
       - name: Test using apptest
         uses: ./.github/actions/test-ubuntu
         with:
-          package_path: /tmp/debs/npu-engine*.deb
+          package_path: /tmp/debs/*.deb
           mode: --suite fast-test
       - name: Uplaod meson test log if failed
         if: ${{ failure() }}
@@ -54,4 +54,4 @@ jobs:
         with:
           name: debian packages
           path:
-            /tmp/debs/npu-engine*.deb
+            /tmp/debs/*.deb
index e8a3e6b3fc5dcbc0ca14b11e0853f80311b4b314..6b54ec6a9724f8149fa52200eab821140d3938c9 100644 (file)
@@ -40,7 +40,7 @@ jobs:
       - name: Test using apptest
         uses: ./.github/actions/test-ubuntu
         with:
-          package_path: /tmp/debs/npu-engine*.deb
+          package_path: /tmp/debs/*.deb
           mode: --suite fast-test
       - name: Uplaod meson test log if failed
         if: ${{ failure() }}
@@ -54,4 +54,4 @@ jobs:
         with:
           name: debian packages
           path:
-            /tmp/debs/npu-engine*.deb
+            /tmp/debs/*.deb
index 18a089c93deb18d7b41b9797a6f27b586c0d383f..5f5e9ee1bf2c1462e191a8fc381b2f92abd40125 100644 (file)
@@ -47,7 +47,7 @@ jobs:
       - name: Test using apptest
         uses: ./.github/actions/test-ubuntu
         with:
-          package_path: /tmp/debs/npu-engine*.deb
+          package_path: /tmp/debs/*.deb
       - name: Upload to artifactory
         uses: ./.github/actions/upload-artifacts
         with:
index c3b552c1a7ae95c3cdbc16bbf8caf80aef4e1032..a8c45f602a8cb6d754db8442f2b82c62afe79f7f 100644 (file)
@@ -47,7 +47,7 @@ jobs:
       - name: Test using apptest
         uses: ./.github/actions/test-ubuntu
         with:
-          package_path: /tmp/debs/npu-engine*.deb
+          package_path: /tmp/debs/*.deb
       - name: Upload to artifactory
         uses: ./.github/actions/upload-artifacts
         with: