Skip to content

Commit 6c6f754

Browse files
authored
Merge pull request #53 from vdice/fix/release-action
fix(.github): update release.yml workflow
2 parents bb633a0 + 858b5a9 commit 6c6f754

File tree

2 files changed

+31
-24
lines changed

2 files changed

+31
-24
lines changed

.github/release.yml

-24
This file was deleted.

.github/workflows/release.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*"
7+
8+
jobs:
9+
assets:
10+
name: Build and release assets
11+
runs-on: "ubuntu-latest"
12+
steps:
13+
- uses: actions/checkout@v2
14+
15+
- name: Install Dependencies
16+
run: rustup target add wasm32-wasi
17+
18+
- name: Build WASM
19+
run: make build
20+
21+
- name: Build bart
22+
run: make bart
23+
24+
- name: Create release
25+
uses: softprops/action-gh-release@v1
26+
with:
27+
fail_on_unmatched_files: true
28+
generate_release_notes: true
29+
files: |
30+
target/wasm32-wasi/release/bartholomew.wasm
31+
target/release/bart

0 commit comments

Comments
 (0)