Skip to content

Commit

Permalink
Add release function to build
Browse files Browse the repository at this point in the history
  • Loading branch information
2dust committed Dec 24, 2024
1 parent fde39bf commit e11dca0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Build APK

on:
workflow_dispatch:
inputs:
release_tag:
required: false
type: string
push:
branches:
- master
Expand Down Expand Up @@ -154,3 +159,11 @@ jobs:
with:
name: x86-apk
path: ${{ github.workspace }}/V2rayNG/app/build/outputs/apk/*/release/*x86*.apk

- name: Upload AndroidLibXrayLite to release
uses: svenstaro/upload-release-action@v2
if: github.event.inputs.release_tag != ''
with:
file: ${{ github.workspace }}/V2rayNG/app/build/outputs/apk/*playstore*/release/*.apk
tag: ${{ github.event.inputs.release_tag }}
file_glob: true

0 comments on commit e11dca0

Please sign in to comment.