[go: nahoru, domu]

Skip to content

Commit

Permalink
feat: add release action
Browse files Browse the repository at this point in the history
  • Loading branch information
rvcas committed Sep 30, 2023
1 parent ebaa380 commit 822fbd6
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Release

on:
push:
tags: ["v*.*.*"]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
target: wasm32-wasi

- name: Build
run: cargo build --release

- name: Create release
uses: softprops/action-gh-release@v1
with:
name: ${{ github.ref }}
tag_name: ${{ github.ref }}
files: |
target/wasm32-wasi/release/room.wasm

0 comments on commit 822fbd6

Please sign in to comment.