File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed
Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change 9494 - name : Build
9595 shell : cmd
9696 working-directory : ./build
97- run : .\conanbuild.bat && cmake .. -G "Visual Studio 17 2022" -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DBUILD_SHARED_LIBS=1 && cmake --build . --config Release && dir && dir Release
97+ run : .\conanbuild.bat && cmake .. -G "Visual Studio 17 2022" -DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake -DBUILD_SHARED_LIBS=1 && cmake --build . --config Release
98+
99+ - name : Create archive
100+ working-directory : ./build
101+ run : Compress-Archive -Path Release/* -Destination bncsutil_${{ github.ref_name }}_amd64_dll.zip
102+
103+ - uses : actions/upload-artifact@v4
104+ with :
105+ retention-days : 1
106+ overwrite : true
107+ name : bncsutil_${{ github.ref_name }}_amd64_dll.zip
108+ path : build/bncsutil_${{ github.ref_name }}_amd64_dll.zip
109+
98110
99111 release :
100112 needs : [deb, rpm, dll]
@@ -110,13 +122,19 @@ jobs:
110122 uses : actions/download-artifact@v4
111123 with :
112124 name : libbncsutil-devel-${{ github.ref_name }}.x86_64.rpm
125+
126+ - name : Download dll
127+ uses : actions/download-artifact@v4
128+ with :
129+ name : bncsutil_${{ github.ref_name }}_amd64_dll.zip
113130
114131 - name : Create GitHub Release
115132 uses : softprops/action-gh-release@v1
116133 with :
117134 files : |
118135 libbncsutil-dev_${{ github.ref_name }}_amd64.deb
119136 libbncsutil-devel-${{ github.ref_name }}.x86_64.rpm
137+ bncsutil_${{ github.ref_name }}_amd64_dll.zip
120138 tag_name : ${{ github.ref_name }}
121139 env :
122140 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments