]> jfr.im git - yt-dlp.git/blobdiff - .github/workflows/build.yml
[core] Release workflow and Updater cleanup (#8640)
[yt-dlp.git] / .github / workflows / build.yml
index d944659b85f30f443b243ee0bcedcf2016db7ed5..036ce434894b7d55b44e01d49dc92a1416f326b2 100644 (file)
@@ -80,12 +80,12 @@ on:
         default: true
         type: boolean
       origin:
-        description: .
+        description: Origin
         required: false
-        default: ''
+        default: 'current repo'
         type: choice
         options:
-        - ''
+        - 'current repo'
 
 permissions:
   contents: read
@@ -99,7 +99,7 @@ jobs:
       - name: Process origin
         id: process_origin
         run: |
-          echo "origin=${{ inputs.origin || github.repository }}" >> "$GITHUB_OUTPUT"
+          echo "origin=${{ inputs.origin == 'current repo' && github.repository || inputs.origin }}" | tee "$GITHUB_OUTPUT"
 
   unix:
     needs: process