6
6
- boost-*
7
7
8
8
jobs :
9
- release-posix :
9
+ release-posix-cmake :
10
10
runs-on : ubuntu-latest
11
11
12
12
steps :
13
- - uses : actions/checkout@v3
13
+ - uses : actions/checkout@v4
14
14
with :
15
15
path : ${{ github.ref_name }}
16
16
submodules : true
@@ -31,13 +31,13 @@ jobs:
31
31
${{ github.ref_name }}-cmake.tar.gz
32
32
${{ github.ref_name }}-cmake.tar.xz
33
33
34
- release-windows :
34
+ release-windows-cmake :
35
35
runs-on : windows-latest
36
36
37
- needs : release-posix
37
+ needs : release-posix-cmake
38
38
39
39
steps :
40
- - uses : actions/checkout@v3
40
+ - uses : actions/checkout@v4
41
41
with :
42
42
path : ${{ github.ref_name }}
43
43
submodules : true
58
58
files : |
59
59
${{ github.ref_name }}-cmake.zip
60
60
${{ github.ref_name }}-cmake.7z
61
+
62
+ release-posix-b2-nodocs :
63
+ runs-on : ubuntu-latest
64
+
65
+ needs : release-windows-cmake
66
+
67
+ steps :
68
+ - uses : actions/checkout@v4
69
+ with :
70
+ path : ${{ github.ref_name }}
71
+ submodules : true
72
+
73
+ - name : Cleanup
74
+ shell : bash
75
+ run : |
76
+ find ${{ github.ref_name }} -name ".git" -prune -exec rm -rf {} +
77
+
78
+ - name : Move headers
79
+ shell : bash
80
+ run : |
81
+ cd ${{ github.ref_name }}
82
+ cp -r libs/*/include/boost libs/numeric/*/include/boost .
83
+ rm -rf libs/*/include libs/numeric/*/include
84
+
85
+ - name : Create archives
86
+ run : |
87
+ tar -czf ${{ github.ref_name }}-b2-nodocs.tar.gz ${{ github.ref_name }}
88
+ tar -cJf ${{ github.ref_name }}-b2-nodocs.tar.xz ${{ github.ref_name }}
89
+
90
+ - uses : softprops/action-gh-release@v1
91
+ with :
92
+ files : |
93
+ ${{ github.ref_name }}-b2-nodocs.tar.gz
94
+ ${{ github.ref_name }}-b2-nodocs.tar.xz
0 commit comments