Jelajahi Sumber

[github-actions] Use same artifact preparation for macOS too

Nikias Bassen 2 bulan lalu
induk
melakukan
6462ea1506
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      .github/workflows/build.yml

+ 1 - 1
.github/workflows/build.yml

@@ -109,7 +109,7 @@ jobs:
       run: |
           mkdir -p dest
           DESTDIR=`pwd`/dest make install
-          tar -C dest -cf libirecovery.tar usr
+          tar -C dest -cf libirecovery.tar --strip-components 1 .
     - name: publish artifact
       uses: actions/upload-artifact@v4
       with: