Skip to content

Commit 65ae609

Browse files
committed
feat: Use variables for FWBH repository owner
1 parent 0db41be commit 65ae609

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/build-ffmpeg.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ on:
1010
no_release:
1111
description: Don't create release
1212
type: boolean
13-
use_own_fork:
14-
description: Use own ffmpeg-windows-build-helpers fork
15-
type: boolean
1613
watch:
1714
types: [started]
1815

@@ -29,10 +26,10 @@ jobs:
2926
version=$(curl -s https://endoflife.date/api/ffmpeg.json | jq -r .[0].latest)
3027
echo version=${version%.0} >> $GITHUB_OUTPUT
3128
32-
- name: Get ${{ inputs.use_own_fork && github.repository_owner || 'rdp' }}/ffmpeg-windows-build-helpers latest commit
29+
- name: Get ${{ vars.FWBH_REPOSITORY_OWNER }}/ffmpeg-windows-build-helpers latest commit
3330
id: ffmpeg-helper-info
3431
run: |
35-
git_owner=${{ inputs.use_own_fork && github.repository_owner || 'rdp' }}
32+
git_owner=${{ vars.FWBH_REPOSITORY_OWNER }}
3633
git_sha=$(gh api repos/$git_owner/ffmpeg-windows-build-helpers/commits/master -q .sha)
3734
echo git-owner=$git_owner >> $GITHUB_OUTPUT
3835
echo git-sha=$git_sha >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)