mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-19 01:32:06 +00:00
Cleanup Build Workflow
This commit is contained in:
parent
ca381ab20f
commit
c7ebe3c350
1 changed files with 18 additions and 18 deletions
36
.github/workflows/buildapp.yml
vendored
36
.github/workflows/buildapp.yml
vendored
|
|
@ -7,43 +7,43 @@ on:
|
|||
workflow_dispatch:
|
||||
inputs:
|
||||
sdk_version:
|
||||
description: "iOS SDK version to be used during build"
|
||||
description: "iOS SDK Version"
|
||||
default: "16.4"
|
||||
required: true
|
||||
type: string
|
||||
uyou_version:
|
||||
description: "The version of uYou"
|
||||
description: "uYou Version"
|
||||
default: "3.0.3"
|
||||
required: true
|
||||
type: string
|
||||
uyouenhanced_version:
|
||||
description: "The version of uYouEnhanced (Commit ID)"
|
||||
default: ""
|
||||
required: false
|
||||
type: string
|
||||
decrypted_youtube_url:
|
||||
description: "The direct URL to the decrypted YouTube ipa"
|
||||
description: "Direct URL of the decrypted YouTube IPA"
|
||||
default: ""
|
||||
required: true
|
||||
type: string
|
||||
bundle_id:
|
||||
description: "Modify the bundle ID. Not recommended"
|
||||
description: "Modify the bundle ID"
|
||||
default: "com.google.ios.youtube"
|
||||
required: true
|
||||
type: string
|
||||
app_name:
|
||||
description: "Modify the name of the app on the Home Screen. Not recommended"
|
||||
description: "Modify the app name"
|
||||
default: "YouTube"
|
||||
required: true
|
||||
type: string
|
||||
create_release:
|
||||
description: "Create a draft release"
|
||||
commit_id:
|
||||
description: "(Optional) Commit ID to build at"
|
||||
default: ""
|
||||
required: false
|
||||
type: string
|
||||
upload_artifact:
|
||||
description: "Upload IPA as artifact"
|
||||
default: true
|
||||
required: false
|
||||
type: boolean
|
||||
upload_artifact:
|
||||
description: "Upload Artifact"
|
||||
default: true
|
||||
create_release:
|
||||
description: "Create a draft release"
|
||||
default: false
|
||||
required: false
|
||||
type: boolean
|
||||
|
||||
|
|
@ -63,7 +63,7 @@ jobs:
|
|||
uses: actions/checkout@v4.1.1
|
||||
with:
|
||||
path: main
|
||||
ref: ${{ github.event.inputs.uyouenhanced_version || github.ref }}
|
||||
ref: ${{ github.event.inputs.commit_id || github.ref }}
|
||||
submodules: recursive
|
||||
|
||||
- name: Install Dependencies
|
||||
|
|
@ -161,15 +161,15 @@ jobs:
|
|||
if-no-files-found: error
|
||||
|
||||
- name: Create Release
|
||||
if: inputs.create_release == 'true'
|
||||
id: create_release
|
||||
uses: softprops/action-gh-release@v2.0.4
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
UYOU_VERSION: ${{ inputs.uyou_version }}
|
||||
YOUTUBE_VERSION: ${{ steps.prepare_youtube.outputs.youtube_version }}
|
||||
DRAFT: ${{ inputs.create_release }}
|
||||
with:
|
||||
tag_name: v${{ env.YOUTUBE_VERSION }}-${{ env.UYOU_VERSION }}-(${{ github.run_number }})
|
||||
name: v${{ env.YOUTUBE_VERSION }}-${{ env.UYOU_VERSION }}-(${{ github.run_number }})
|
||||
files: main/packages/*.ipa
|
||||
draft: ${{ env.DRAFT }}
|
||||
draft: true
|
||||
|
|
|
|||
Loading…
Reference in a new issue