Skip to content

Workflow file for this run

on:
workflow_dispatch:
release:
types: [created]
jobs:
release:
name: Build and Release Plug-ins
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: wasm32-unknown-unknown
- name: Add wasm32-wasi target
run: rustup target add wasm32-wasi
- name: Setup `wasm-tools`
uses: bytecodealliance/actions/wasm-tools/setup@v1
- name: Build
run: make build
- name: List directory contents
run: |
ls -la plugins
- name: Upload Artifact to Release
uses: softprops/action-gh-release@v1
with:
if-no-files-found: error
files: |
plugins/*.wasm
if: startsWith(github.ref, 'refs/tags/')