2023-05-16 15:45:11 -05:00
|
|
|
name: Build
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ "master" ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ "master" ]
|
|
|
|
|
|
|
|
env:
|
|
|
|
CARGO_TERM_COLOR: always
|
|
|
|
CARGO_TERM_PROGRESS_WHEN: "never"
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: Swatinem/rust-cache@v2
|
|
|
|
- name: Build
|
2023-05-16 16:33:17 -05:00
|
|
|
run: cargo build
|
|
|
|
--release
|
|
|
|
--bin kubi
|
|
|
|
--bin kubi-server
|
2023-05-16 15:45:11 -05:00
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
|
with:
|
2023-05-16 16:33:17 -05:00
|
|
|
name: linux-x64-release
|
2023-05-16 15:45:11 -05:00
|
|
|
path: |
|
|
|
|
./target/release/kubi
|
|
|
|
./target/release/kubi-server
|
|
|
|
./assets
|