From c55b632d9d8307c5067e8c9f10c00f14008bdc49 Mon Sep 17 00:00:00 2001 From: Frankie Dintino Date: Tue, 26 Sep 2023 12:13:15 -0400 Subject: [PATCH] ci: Bundle LICENSE file in librav1e deploy artifacts --- .github/workflows/deploy.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 28d7bbaabe..94fbe8a32b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -110,6 +110,9 @@ jobs: - name: Rename cargo-c folder run: Rename-Item "C:\usr\local" "C:\usr\rav1e-windows-${{ matrix.conf }}-sdk" + - name: Copy LICENSE + run: Copy-Item "LICENSE" "C:\usr\rav1e-windows-${{ matrix.conf }}-sdk\LICENSE" + - name: Get the version if: startsWith(github.ref, 'refs/tags/v') shell: bash @@ -306,6 +309,7 @@ jobs: startsWith(github.ref, 'refs/tags/v') || github.event_name == 'schedule') run: | + cp LICENSE dist cd dist tar -czvf $GITHUB_WORKSPACE/$ARTIFACT_FILE * @@ -415,6 +419,7 @@ jobs: startsWith(github.ref, 'refs/tags/v') || github.event_name == 'schedule') run: | + cp LICENSE dist cd dist tar -czvf $GITHUB_WORKSPACE/$ARTIFACT_FILE *