Skip to content

Commit

Permalink
Remove libs/*/doc from -b2-nodocs archives in release-cmake.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed May 29, 2024
1 parent 9d2f7e6 commit 4bda6d7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release-cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4bda6d7

Please sign in to comment.