diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0c90f104..5e69540b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,11 @@ name: Build APK on: + workflow_dispatch: + inputs: + release_tag: + required: false + type: string push: branches: - master @@ -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 \ No newline at end of file