-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (36 loc) · 1000 Bytes
/
rust.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Rust
on:
push:
branches: [ "main" ]
schedule:
- cron: '0 0 1 * *'
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: |
cd warp-rest-api
cargo build --release
cd ../actix-rest-api/
cargo build --release
cd ../axum-rest-api/
cargo build --release
cd ../rocket-rest-api/
# rocket requires nightly
rustup override set nightly
cargo build --release
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: |
rocket-rest-api/target/release/rocket-rest-api
warp-rest-api/target/release/warp-rest-api
actix-rest-api/target/release/actix-rest-api
axum-rest-api/target/release/axum-rest-api