Update build.yml

This commit is contained in:
Telesphoreo 2022-05-14 18:14:54 -05:00 committed by GitHub
parent 5752f0d81d
commit 90bf442832
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,8 +3,8 @@ name: Build
on: [ push ] on: [ push ]
jobs: jobs:
build_and_test: build_windows:
name: IBConverter name: IBConverter Windows
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -17,5 +17,21 @@ jobs:
args: --release --all-features args: --release --all-features
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
with: with:
name: IBConverter-Linux name: IBConverter-Windows
path: target/release/IBConverter* path: target/release/IBConverter.exe
build_macos:
name: IBConverter Mac
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions-rs/cargo@v1
with:
command: build
args: --release --all-features
- uses: actions/upload-artifact@v3
with:
name: IBConverter-macOS
path: target/release/IBConverter