Skip to content

Commit

Permalink
chore: add THIRDPARTY.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
progre committed Oct 20, 2023
1 parent 4134999 commit 3e2b6bf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
rustup default nightly
rustup target add i686-pc-windows-msvc
cargo build --locked --release --workspace
cargo install cargo-bundle-licenses
cargo bundle-licenses --format yaml --output THIRDPARTY.yml
mkdir --parents artifact/modules
mv \
./target/i686-pc-windows-msvc/release/th19_*.dll \
Expand All @@ -35,7 +37,7 @@ jobs:
./target/i686-pc-windows-msvc/release/*.dll \
./target/i686-pc-windows-msvc/release/*.exe \
./artifact/
cp --recursive lang/ LICENSE README.md ./artifact/
cp --recursive lang/ LICENSE README.md THIRDPARTY.yml ./artifact/
- uses: actions/upload-artifact@v3
with:
name: artifact
Expand All @@ -51,7 +53,7 @@ jobs:
name: artifact
- run: |
cd artifact
zip ../out lang/* junowen.exe junowen_hook.dll LICENSE README.md
zip ../out lang/* junowen.exe junowen_hook.dll LICENSE README.md THIRDPARTY.yml
- id: create_release
uses: actions/create-release@v1
env:
Expand Down

0 comments on commit 3e2b6bf

Please sign in to comment.