Skip to content

Commit

Permalink
ci: glob-include all .cfg and batch files
Browse files Browse the repository at this point in the history
  • Loading branch information
w23 authored Sep 20, 2023
1 parent 9591919 commit 389362c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
if: matrix.os == 'windows-latest'
run: |
cmake -E make_directory ${{ runner.workspace }}/OpenSource-win64
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-win64
cmake -E copy ${{ github.workspace }}/misc/*.cfg ${{ github.workspace }}/misc/*.bat ${{ runner.workspace }}/build/Release/OpenSource.exe ${{ github.workspace }}/README.md ${{ runner.workspace }}/OpenSource-win64
powershell Compress-Archive ${{ runner.workspace }}/OpenSource-win64/* ${{ runner.workspace }}/OpenSource-win64.zip
- name: Upload artifacts
if: matrix.os == 'windows-latest'
Expand Down

0 comments on commit 389362c

Please sign in to comment.