Skip to content

Commit 24d188e

Browse files
committed
add steps for package
1 parent ce05c50 commit 24d188e

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
name: Release
2+
23
on:
4+
push:
5+
tags:
6+
- "amidala-v*.*.*"
37
workflow_dispatch:
48
inputs:
59
tag_name:
610
description: 'Tag Name for Release: v0.3.0'
711
required: true
8-
release_body:
9-
description: 'Release Body'
10-
required: true
1112

1213
jobs:
1314
build-android:
@@ -113,14 +114,15 @@ jobs:
113114
with:
114115
name: jsar-runtime-windows
115116
path: out/windows
117+
- name: Create package
118+
run: |
119+
cp -r src/proto out/
120+
tar -czvf jsar-runtime-release.tar.gz out
116121
- name: Create Release
117122
uses: softprops/action-gh-release@v1
118123
with:
119124
files: |
120125
src/proto/*.proto
121-
out/android/*
122-
out/windows/*
126+
jsar-runtime-release.tar.gz
123127
repo_token: ${{ secrets.GITHUB_TOKEN }}
124128
tag_name: ${{ github.event.inputs.tag_name }}
125-
title: Release ${{ github.event.inputs.tag_name }}
126-
body: ${{ github.event.inputs.release_body }}

0 commit comments

Comments
 (0)