Skip to content

Commit 750df8c

Browse files
authored
Merge pull request #1934 from mjcheetham/fix-workflow
ci: allow different repo for downloading GVFS/FT artifacts
2 parents 064524b + 6c7c170 commit 750df8c

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/functional-tests.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ name: Functional Tests
33
on:
44
workflow_call:
55
inputs:
6+
vfs_repository:
7+
description: 'Repository to download the VFSForGit artifacts from (defaults to the calling repository)'
8+
required: false
9+
type: string
10+
default: ''
611
vfs_run_id:
712
description: 'Workflow run ID to download FT executables and GVFS installer from (defaults to the calling run)'
813
required: false
@@ -87,7 +92,7 @@ jobs:
8792
with:
8893
name: GVFS_${{ matrix.configuration }}
8994
path: gvfs
90-
repository: microsoft/VFSForGit
95+
repository: ${{ inputs.vfs_repository || github.repository }}
9196
run-id: ${{ inputs.vfs_run_id || github.run_id }}
9297
github-token: ${{ secrets.vfs_token || github.token }}
9398

@@ -97,7 +102,7 @@ jobs:
97102
with:
98103
name: FunctionalTests_${{ matrix.configuration }}
99104
path: ft
100-
repository: microsoft/VFSForGit
105+
repository: ${{ inputs.vfs_repository || github.repository }}
101106
run-id: ${{ inputs.vfs_run_id || github.run_id }}
102107
github-token: ${{ secrets.vfs_token || github.token }}
103108

0 commit comments

Comments
 (0)