Преглед изворни кода

ci: add extra steps to check artifacts

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
(cherry picked from commit 113e95ec0228596fecbe1f47130c06044fce1a04)
CrazyMax пре 2 година
родитељ
комит
3ef71f9085
1 измењених фајлова са 16 додато и 0 уклоњено
  1. 16 0
      .github/workflows/ci.yml

+ 16 - 0
.github/workflows/ci.yml

@@ -45,6 +45,14 @@ jobs:
         uses: docker/bake-action@v2
         with:
           targets: ${{ matrix.target }}
+      -
+        name: List artifacts
+        run: |
+          tree -nh ${{ env.DESTDIR }}
+      -
+        name: Check artifacts
+        run: |
+          find ${{ env.DESTDIR }} -type f -exec file -e ascii -- {} +
       -
         name: Upload artifacts
         uses: actions/upload-artifact@v3
@@ -105,6 +113,14 @@ jobs:
           targets: binary
           set: |
             *.platform=${{ matrix.platform }}
+      -
+        name: List artifacts
+        run: |
+          tree -nh ${{ env.DESTDIR }}
+      -
+        name: Check artifacts
+        run: |
+          find ${{ env.DESTDIR }} -type f -exec file -e ascii -- {} +
       -
         name: Upload artifacts
         uses: actions/upload-artifact@v3