Skip to content

Commit 4d8805b

Browse files
committed
add release workflow
1 parent 3e59860 commit 4d8805b

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/release.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Release
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
tag_name:
6+
description: 'Tag Name for Release: v0.3.0'
7+
required: true
8+
release_body:
9+
description: 'Release Body'
10+
required: true
11+
12+
jobs:
13+
release:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Download Windows artifact
17+
uses: actions/download-artifact@v2
18+
with:
19+
name: jsar-runtime-windows
20+
path: release/windows
21+
22+
- name: Download Android artifact
23+
uses: actions/download-artifact@v2
24+
with:
25+
name: jsar-runtime-android
26+
path: release/android
27+
28+
- name: Create Release
29+
uses: softprops/action-gh-release@v1
30+
with:
31+
files: |
32+
release/*
33+
repo_token: ${{ secrets.GITHUB_TOKEN }}
34+
tag_name: ${{ github.event.inputs.tag_name }}
35+
title: Release ${{ github.event.inputs.tag_name }}
36+
body: ${{ github.event.inputs.release_body }}

0 commit comments

Comments
 (0)