Skip to content

Commit e11dca0

Browse files
committed
Add release function to build
1 parent fde39bf commit e11dca0

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/build.yml

+13
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Build APK
22

33
on:
4+
workflow_dispatch:
5+
inputs:
6+
release_tag:
7+
required: false
8+
type: string
49
push:
510
branches:
611
- master
@@ -154,3 +159,11 @@ jobs:
154159
with:
155160
name: x86-apk
156161
path: ${{ github.workspace }}/V2rayNG/app/build/outputs/apk/*/release/*x86*.apk
162+
163+
- name: Upload AndroidLibXrayLite to release
164+
uses: svenstaro/upload-release-action@v2
165+
if: github.event.inputs.release_tag != ''
166+
with:
167+
file: ${{ github.workspace }}/V2rayNG/app/build/outputs/apk/*playstore*/release/*.apk
168+
tag: ${{ github.event.inputs.release_tag }}
169+
file_glob: true

0 commit comments

Comments
 (0)