Skip to content

Commit

Permalink
ci: Bundle LICENSE file in librav1e deploy artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
fdintino committed Sep 27, 2023
1 parent 6931e20 commit c55b632
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 *
Expand Down Expand Up @@ -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 *
Expand Down

0 comments on commit c55b632

Please sign in to comment.