-
Notifications
You must be signed in to change notification settings - Fork 2
36 lines (33 loc) · 970 Bytes
/
build.yaml
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
name: build
on:
schedule:
- cron: '0 16 * * *'
workflow_dispatch:
jobs:
build:
name: build
strategy:
matrix:
os: ['ubuntu-latest', 'windows-latest']
runs-on: ${{ matrix.os }}
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
- name: Setup | Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Build | Rust
run: cargo build --release
- name: Upload Artifact | Windows
if: ${{ matrix.os == 'windows-latest' }}
uses: actions/upload-artifact@v4
with:
name: x86_64-windows-msvc-rws_rjr-nightly.exe
path: target/release/rws_rjr.exe
retention-days: 14
- name: Upload Artifact | Linux
if: ${{ matrix.os == 'ubuntu-latest' }}
uses: actions/upload-artifact@v4
with:
name: x86_64-linux-gnu-rws_rjr-nightly
path: target/release/rws_rjr
retention-days: 14