Skip to content

chore: Update build.rs #22

chore: Update build.rs

chore: Update build.rs #22

Workflow file for this run

name: Rust
on: [push]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest]
include:
- os: macos-latest
- os: windows-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Build
run: cargo build --release
- name: Deploy
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
files: .\target\release\MopaqPack-rs.exe
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}