Skip to content

Update README.md

Update README.md #8

Workflow file for this run

name: deno
on:
push:
branches: [main]
pull_request:
jobs:
build:
name: Build ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Install rust
uses: hecrj/setup-rust-action@v1
with:
rust-version: nightly
- uses: denoland/setup-deno@v1
with:
deno-version: canary
- name: Install deno_bindgen
run: deno install -Afq -n deno_bindgen https://raw.githubusercontent.com/littledivy/deno_bindgen/main/cli.ts
- name: Build
shell: bash
run: |
set -xeuo pipefail
rustc --version
cargo --version
deno_bindgen --release -- --features "deno_ffi"
- name: Release
uses: softprops/action-gh-release@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: "release draft"
draft: true
files: |
target/release/libwebusb.so
target/release/libwebusb.dylib
target/release/webusb.dll