mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 06:20:09 +01:00
ci: update
This commit is contained in:
parent
9d42dcbb4c
commit
06efb53f35
1 changed files with 8 additions and 3 deletions
11
.github/workflows/build.yaml
vendored
11
.github/workflows/build.yaml
vendored
|
|
@ -75,25 +75,30 @@ jobs:
|
|||
# cross 0.2.5 broken for android
|
||||
run: |
|
||||
cargo install cross --locked --git https://github.com/cross-rs/cross --rev 99b8069c0d977a14cd421ad8a3ef3255dc5802be
|
||||
cross build --release --locked --target ${{ matrix.target }} --features=runtime-rules,request-ai
|
||||
cross build --release --locked --target ${{ matrix.target }}
|
||||
|
||||
- name: package deb
|
||||
if: ${{ matrix.deb == true }}
|
||||
run: |
|
||||
cargo install cargo-deb --locked
|
||||
cargo deb --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-runtime-rules.exe
|
||||
./target/${{ matrix.target }}/release/pay-respects-fallback-request-ai.exe
|
||||
|
||||
- name: zipping files (unix)
|
||||
if: runner.os != 'Windows'
|
||||
run: >
|
||||
tar -czf pay-respects-${{ steps.version.outputs.VERSION }}-${{ matrix.target }}.tar.gz
|
||||
-C target/${{ matrix.target }}/release pay-respects
|
||||
-C target/${{ matrix.target }}/release
|
||||
pay-respects
|
||||
pay-respects-module-runtime-rules
|
||||
pay-respects-fallback-request-ai
|
||||
|
||||
- name: uploading to release
|
||||
uses: ncipollo/release-action@v1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue