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 Feb 29, 2024
1 parent 59bfde6 commit c3bbecb
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,19 @@ jobs:
- name: Build
working-directory: build
run: cmake --build . --config ${{ matrix.configuration }} -j $env:NUMBER_OF_PROCESSORS
- name: Copy licenses
run: |
mkdir LICENSES
for dep in deps/*/
do
dep_name=$(basename ${dep})
mkdir LICENSES/${dep_name}
cp deps/${dep_name}/LICENSE* LICENSES/${dep_name}/
done
- 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 c3bbecb

Please sign in to comment.