mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2026-02-02 15:45:11 +01:00
chore: add LICENSE to builds
This commit is contained in:
parent
aa48a68af0
commit
a3d3c6f143
2 changed files with 12 additions and 9 deletions
20
.github/workflows/build.yaml
vendored
20
.github/workflows/build.yaml
vendored
|
|
@ -83,23 +83,25 @@ jobs:
|
||||||
cargo install cargo-deb --locked
|
cargo install cargo-deb --locked
|
||||||
cargo deb -p pay-respects --no-build --no-strip --output . --target ${{ matrix.target }}
|
cargo deb -p pay-respects --no-build --no-strip --output . --target ${{ matrix.target }}
|
||||||
|
|
||||||
- name: zipping files (exe)
|
|
||||||
if: runner.os == 'Windows'
|
|
||||||
run: >
|
|
||||||
7z a pay-respects-${{ steps.version.outputs.VERSION }}-${{ matrix.target }}.zip
|
|
||||||
./target/${{ matrix.target }}/release/pay-respects.exe
|
|
||||||
./target/${{ matrix.target }}/release/_pay-respects-module-100-runtime-rules.exe
|
|
||||||
./target/${{ matrix.target }}/release/_pay-respects-fallback-100-request-ai.exe
|
|
||||||
|
|
||||||
- name: zipping files (unix)
|
- name: zipping files (unix)
|
||||||
if: runner.os != 'Windows'
|
if: runner.os != 'Windows'
|
||||||
run: >
|
run: >
|
||||||
tar -czf pay-respects-${{ steps.version.outputs.VERSION }}-${{ matrix.target }}.tar.gz
|
tar --zstd -cf pay-respects-${{ steps.version.outputs.VERSION }}-${{ matrix.target }}.tar.zst
|
||||||
|
LICENSE
|
||||||
-C target/${{ matrix.target }}/release
|
-C target/${{ matrix.target }}/release
|
||||||
pay-respects
|
pay-respects
|
||||||
_pay-respects-module-100-runtime-rules
|
_pay-respects-module-100-runtime-rules
|
||||||
_pay-respects-fallback-100-request-ai
|
_pay-respects-fallback-100-request-ai
|
||||||
|
|
||||||
|
- name: zipping files (exe)
|
||||||
|
if: runner.os == 'Windows'
|
||||||
|
run: >
|
||||||
|
7z a pay-respects-${{ steps.version.outputs.VERSION }}-${{ matrix.target }}.zip
|
||||||
|
./LICENSE
|
||||||
|
./target/${{ matrix.target }}/release/pay-respects.exe
|
||||||
|
./target/${{ matrix.target }}/release/_pay-respects-module-100-runtime-rules.exe
|
||||||
|
./target/${{ matrix.target }}/release/_pay-respects-fallback-100-request-ai.exe
|
||||||
|
|
||||||
- name: uploading to release
|
- name: uploading to release
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
|
|
@ -31,4 +31,5 @@ assets = [
|
||||||
["target/release/pay-respects", "usr/bin/", "755"],
|
["target/release/pay-respects", "usr/bin/", "755"],
|
||||||
["target/release/_pay-respects-module-100-runtime-rules", "usr/bin/", "755"],
|
["target/release/_pay-respects-module-100-runtime-rules", "usr/bin/", "755"],
|
||||||
["target/release/_pay-respects-fallback-100-request-ai", "usr/bin/", "755"],
|
["target/release/_pay-respects-fallback-100-request-ai", "usr/bin/", "755"],
|
||||||
|
["LICENSE", "usr/share/doc/pay-respects/", "644"],
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue