2020-12-04 18:07:01 +13:00
|
|
|
name: Rust
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ master ]
|
|
|
|
|
|
|
|
env:
|
|
|
|
CARGO_TERM_COLOR: always
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Build
|
|
|
|
run: cargo build --release
|
|
|
|
|
|
|
|
- uses: actions/upload-artifact@v2.2.1
|
2020-12-04 18:08:40 +13:00
|
|
|
name: Upload a Build Artifact
|
2020-12-04 18:07:01 +13:00
|
|
|
with:
|
|
|
|
name: libreddit
|
|
|
|
path: target/release/libreddit
|