Skip to content

Commit

Permalink
Include the licenses of our dependencies in the Windows release
Browse files Browse the repository at this point in the history
  • Loading branch information
rapperskull committed Mar 1, 2024
1 parent 59bfde6 commit 9a0f38c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,18 @@ jobs:
- name: Build
working-directory: build
run: cmake --build . --config ${{ matrix.configuration }} -j $env:NUMBER_OF_PROCESSORS
- name: Copy licenses
run: |
mkdir LICENSES
for /D %%x in (deps/*) do (
mkdir LICENSES\%%x
copy deps\%%x\LICENSE* LICENSES\%%x
)
shell: cmd
- name: Prepare artifacts
run: |
mkdir artifacts
mv -vb build\${{ matrix.configuration }}\extract-xiso.exe, LICENSE.TXT artifacts
mv -vb build\${{ matrix.configuration }}\extract-xiso.exe, LICENSE.TXT, LICENSES artifacts
- uses: actions/upload-artifact@v4
with:
name: extract-xiso-${{ matrix.artifact_os }}-${{ matrix.configuration }}
Expand Down

0 comments on commit 9a0f38c

Please sign in to comment.