diff --git a/.github/workflows/buildapp.yml b/.github/workflows/buildapp.yml index 24c8a4e..d5e397c 100644 --- a/.github/workflows/buildapp.yml +++ b/.github/workflows/buildapp.yml @@ -18,8 +18,8 @@ on: type: string uyouenhanced_version: description: "The version of uYouEnhanced (Commit ID)" - default: "main" - required: true + default: "" + required: false type: string decrypted_youtube_url: description: "The direct URL to the decrypted YouTube ipa" @@ -63,7 +63,7 @@ jobs: uses: actions/checkout@v4.1.1 with: path: main - ref: ${{ inputs.uyouenhanced_version }} + ref: ${{ github.event.inputs.uyouenhanced_version || github.ref }} submodules: recursive - name: Install Dependencies