fix: format code #56
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: [main] | |
name: Release Build | |
jobs: | |
release: | |
name: Build (${{ matrix.os }}) | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- name: Run cargo build | |
uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
args: --release --examples --all | |
- name: Upload build artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: assembly-${{ matrix.os }} | |
path: | | |
target/release/examples | |
!target/release/examples/*.d | |
!target/release/examples/*_* |