From db742e6939ba992f28bd4aa5767f4bf1e73cf8e7 Mon Sep 17 00:00:00 2001 From: Jason Yundt Date: Fri, 3 May 2024 12:02:35 -0400 Subject: [PATCH] Add a copy of the GPL to CI artifacts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The GPL requires that you include a copy of the GPL with every copy of programs that are released under the GPL [1]. Before this change, CI artifacts didn’t include a copy of the GPL. Fixes #276. [1]: --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1dc5ba11..a164d941 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -81,6 +81,9 @@ jobs: - name: Run ${{ matrix.build_type }} Unittests run: ctest --preset ${{ matrix.os.preset }} -C ${{ matrix.build_type }} + - name: Ensure artifacts contain LICENSE + run: cp LICENSE ${{ github.workspace }}/builds/${{ matrix.os.preset }}/Descent3/${{ matrix.build_type }}/ + - name: Upload Artifacts uses: actions/upload-artifact@v4 with: