Skip to content

safely unwrap values #21

safely unwrap values

safely unwrap values #21

name: Release
on:
workflow_dispatch:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout Commit
uses: actions/checkout@v2
- name: Install Rust
uses: hecrj/setup-rust-action@v1
with:
rust-version: 'stable'
targets: 'wasm32-unknown-unknown'
- name: Build Regular Shared Library
run: cargo build --target wasm32-unknown-unknown --release
- name: Release
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
draft: false
prerelease: false
tag_name: release-${{ github.sha }}
release_name: Release ${{ github.sha }}
files: |
./target/wasm32-unknown-unknown/release/live_a_live_autosplitter_wasm.wasm