23 lines
628 B
YAML
23 lines
628 B
YAML
name: Build && Deploy
|
|
on: [push]
|
|
|
|
jobs:
|
|
test:
|
|
name: cargo build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Install minimal stable with clippy and rustfmt
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
profile: minimal
|
|
toolchain: stable
|
|
- uses: actions/checkout@v4
|
|
- run: cargo build --release --target x86_64-unknown-linux-gnu
|
|
- run: |
|
|
ls target/x86_64-unknown-linux-gnu/release
|
|
- name: Upload Release Binary
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: botrunner
|
|
path: target/x86_64-unknown-linux-gnu/release/gongbot
|