Skip to content

Commit

Permalink
add licence
Browse files Browse the repository at this point in the history
Signed-off-by: bootjp / Yoshiaki Ueda <[email protected]>
  • Loading branch information
bootjp committed Jun 21, 2022
1 parent 64708dc commit 8814661
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,15 @@ jobs:
- name: Build
run: cargo build --release --verbose

- name: Add licence.txt
run: |
- cargo install cargo-license
- cargo license > target/release/licence.txt
- name: Archive to zip
run: |
New-Item -ItemType Directory dist
Compress-Archive -Path target/release/send-vrc-desktop.exe -DestinationPath dist/send-vrc-desktop-${{ needs.get-release-version.outputs.release_version }}-x86_64-pc-windows-msvc.zip
Compress-Archive -Path target/release/send-vrc-desktop.exe,target/release/licence.txt -DestinationPath dist/send-vrc-desktop-${{ needs.get-release-version.outputs.release_version }}-x86_64-pc-windows-msvc.zip
- name: Release
uses: softprops/action-gh-release@v1
Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "send-vrc-desktop"
version = "1.0.1"
edition = "2021"
license = "MIT"

[dependencies]
anyhow = "1.0.58"
Expand Down

0 comments on commit 8814661

Please sign in to comment.