Skip to content

Commit

Permalink
Merge pull request #3 from leakec/main
Browse files Browse the repository at this point in the history
Adding release action
  • Loading branch information
leakec authored Sep 26, 2023
2 parents 67b9752 + a8ecbd2 commit 160df2a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Publish new release

on:
release:
types: [published]

workflow_dispatch:

env:
CARGO_TERM_COLOR: always

jobs:
build:
name: Build distributables
runs-on: ubuntu-latest
steps:
- name: Install wasm32-wasi
run: rustup target add wasm32-wasi
- uses: actions/checkout@v3
- name: Build
run: cargo build --release
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: ./target/wasm32-wasi/release/multitask.wasm

0 comments on commit 160df2a

Please sign in to comment.