Skip to content

Commit cd3c1e0

Browse files
committed
Add release-windows-b2-nodocs to release-cmake.yml
1 parent 8b39cca commit cd3c1e0

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/release-cmake.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ jobs:
8181
cd ${{ github.ref_name }}
8282
cp -r libs/*/include/boost libs/numeric/*/include/boost .
8383
rm -rf libs/*/include libs/numeric/*/include
84+
rm -f CMakeLists.txt
8485
8586
- name: Create archives
8687
run: |
@@ -92,3 +93,39 @@ jobs:
9293
files: |
9394
${{ github.ref_name }}-b2-nodocs.tar.gz
9495
${{ github.ref_name }}-b2-nodocs.tar.xz
96+
97+
release-windows-b2-nodocs:
98+
runs-on: windows-latest
99+
100+
needs: release-posix-b2-nodocs
101+
102+
steps:
103+
- uses: actions/checkout@v4
104+
with:
105+
path: ${{ github.ref_name }}
106+
submodules: true
107+
108+
- name: Cleanup
109+
shell: bash
110+
run: |
111+
find ${{ github.ref_name }} -name ".git" -prune -exec rm -rf {} +
112+
113+
- name: Move headers
114+
shell: bash
115+
run: |
116+
cd ${{ github.ref_name }}
117+
cp -r libs/*/include/boost libs/numeric/*/include/boost .
118+
rm -rf libs/*/include libs/numeric/*/include
119+
rm -f CMakeLists.txt
120+
121+
- name: Create archives
122+
shell: cmd
123+
run: |
124+
7z a ${{ github.ref_name }}-b2-nodocs.zip ${{ github.ref_name }}
125+
7z a ${{ github.ref_name }}-b2-nodocs.7z ${{ github.ref_name }}
126+
127+
- uses: softprops/action-gh-release@v1
128+
with:
129+
files: |
130+
${{ github.ref_name }}-b2-nodocs.zip
131+
${{ github.ref_name }}-b2-nodocs.7z

0 commit comments

Comments
 (0)