Skip to content

refactor: Use https://github.com/wc3tools/stormlib-rs #14

refactor: Use https://github.com/wc3tools/stormlib-rs

refactor: Use https://github.com/wc3tools/stormlib-rs #14

Workflow file for this run

name: Rust
on: [push]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: --release
- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
args: --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 }}