Skip to content

Create rust.yml

Create rust.yml #1

Workflow file for this run

name: Rust
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: xpol/setup-lua@v1
with:
lua-version: "luajit-2.0.5"
- name: Build
run: cargo build --verbose --release
env:
LUA_LIB: "./.lua/lib"
- uses: actions/upload-artifact@v2
with:
name: json5.dll
path: target/release/json5.dll