浏览代码

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

Nikias Bassen 2 月之前
父节点
当前提交
6462ea1506
共有 1 个文件被更改,包括 1 次插入1 次删除
  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: