From ab82646e1ad06f6c9a7adf06c49518920ead672e Mon Sep 17 00:00:00 2001 From: LoveSy Date: Tue, 26 Oct 2021 19:43:23 +0800 Subject: [PATCH] More friendly --- .github/workflows/magisk.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/magisk.yml b/.github/workflows/magisk.yml index 0d0e0d1..1c17765 100644 --- a/.github/workflows/magisk.yml +++ b/.github/workflows/magisk.yml @@ -1,11 +1,14 @@ name: Magisk on: + push: + pull_request: workflow_dispatch: inputs: magisk_apk: description: 'Download link to magisk apk.' required: true + default: 'https://raw.githubusercontent.com/LSPosed/MagiskOnWSA/main/magisk.apk' jobs: build: @@ -68,6 +71,9 @@ jobs: magisk_apk = """${{ github.event.inputs.magisk_apk }}""" + if not magisk_apk: + magisk_apk = """https://raw.githubusercontent.com/LSPosed/MagiskOnWSA/main/magisk.apk""" + out_file = "magisk.zip" arch = "${{ matrix.arch }}"