From d0991a122ac39cc2dc676dfa189e605ea0731e79 Mon Sep 17 00:00:00 2001 From: rapperskull Date: Fri, 1 Mar 2024 00:29:13 +0100 Subject: [PATCH] Include the licenses of our dependencies in the Windows release --- .github/workflows/CI.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index de11ee0..52f7cc9 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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 }}