Skip to content

Commit

Permalink
Add macos build action
Browse files Browse the repository at this point in the history
  • Loading branch information
JopStro committed May 5, 2024
1 parent a7f48ae commit 1b5c385
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env:
CARGO_TERM_COLOR: always

jobs:
build:
build-windows:

runs-on: windows-latest

Expand All @@ -19,8 +19,18 @@ jobs:
run: cargo build --verbose --release
env:
LUA_LIB: "./.lua/lib"
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: json5.dll
path: target/release/json5.dll

build-macos:
runs-on: macos-latest

steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose --release
- uses: actions/upload-artifact@v4
with:
name: json5.dylib
path: target/release/json5.dylib

0 comments on commit 1b5c385

Please sign in to comment.