From 13f1aa783a82e1eb3b16f1979f445fdee3a5c20d Mon Sep 17 00:00:00 2001 From: Bryce Hackel <34104885+bhackel@users.noreply.github.com> Date: Tue, 2 Apr 2024 20:10:44 -0700 Subject: [PATCH] Fix building on a branch --- .github/workflows/buildapp.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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