Skip to content

Commit 29ff19f

Browse files
committed
create zip only on tags
1 parent d4b0922 commit 29ff19f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
working-directory: ${{ runner.workspace }}/build
2828
run: cmake --build . --config Release
2929
- name: prepare release archive
30-
if: matrix.os == 'windows-latest' # && startsWith(github.ref, 'refs/tags/v')
30+
if: matrix.os == 'windows-latest' && startsWith(github.ref, 'refs/tags/v')
3131
run: |
3232
cmake -E make_directory ${{ runner.workspace }}/OpenSource-windows
3333
cmake -E copy ${{ github.workspace }}/misc/hl1.cfg ${{ github.workspace }}/misc/hl2.cfg ${{ github.workspace }}/misc/hl2eps.cfg ${{ github.workspace }}/misc/hl1.bat ${{ github.workspace }}/misc/hl2.bat ${{ github.workspace }}/misc/hl2eps.bat ${{ runner.workspace }}/build/Release/OpenSource.exe ${{ github.workspace }}/README.md ${{ runner.workspace }}/OpenSource-windows

0 commit comments

Comments
 (0)