ソースを参照

Remove libs/*/doc from -b2-nodocs archives in release-cmake.yml

Peter Dimov 2 年 前
コミット
e1dc0c0278
1 ファイル変更4 行追加2 行削除
  1. 4 2
      .github/workflows/release-cmake.yml

+ 4 - 2
.github/workflows/release-cmake.yml

@@ -83,12 +83,13 @@ jobs:
         run: |
           find ${{ github.ref_name }} -name ".git" -prune -exec rm -rf {} +
 
-      - name: Move headers
+      - name: Move headers, remove docs
         shell: bash
         run: |
           cd ${{ github.ref_name }}
           cp -r libs/*/include/boost libs/numeric/*/include/boost .
           rm -rf libs/*/include libs/numeric/*/include
+          rm -rf libs/*/doc libs/numeric/*/doc
           rm -f CMakeLists.txt
 
       - name: Create archives
@@ -122,12 +123,13 @@ jobs:
         run: |
           find ${{ github.ref_name }} -name ".git" -prune -exec rm -rf {} +
 
-      - name: Move headers
+      - name: Move headers, remove docs
         shell: bash
         run: |
           cd ${{ github.ref_name }}
           cp -r libs/*/include/boost libs/numeric/*/include/boost .
           rm -rf libs/*/include libs/numeric/*/include
+          rm -rf libs/*/doc libs/numeric/*/doc
           rm -f CMakeLists.txt
 
       - name: Create archives

粤ICP备19079148号