Skip to content

Add main branch builds #1

Add main branch builds

Add main branch builds #1

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build release
run: cargo build --release --verbose
- name: Upload artifact
uses: actions/[email protected]
with:
name: OpenFusionMap-linux
path: target/release/openfusionmap
if-no-files-found: error
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --release --verbose
- name: Upload artifact
uses: actions/[email protected]
with:
name: OpenFusionMap-windows
path: |
target/release/openfusionmap.exe
target/release/openfusionmap.pdb
if-no-files-found: error