We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 90a9e53 + 0cb15db commit 498858eCopy full SHA for 498858e
azure-pipelines.yml
@@ -30,11 +30,12 @@ jobs:
30
- bash: |
31
set -ex
32
xcodebuild -version
33
- pushd $(mktemp -d)
34
- echo "github \"${SourceRepositoryURI}\" \"${SourceBranch}\"" > Cartfile
+ pushd $(mktemp -d)
+ if [[ -z "$(System.PullRequest.SourceRepositoryURI)" ]]; then
35
+ echo "github \"kishikawakatsumi/IBPCollectionViewCompositionalLayout\" \"master\"" > Cartfile
36
+ else
37
+ echo "github \"$(System.PullRequest.SourceRepositoryURI)\" \"$(System.PullRequest.SourceBranch)\"" > Cartfile
38
+ fi
39
carthage update --verbose --no-use-binaries
40
popd
41
displayName: 'Carthage'
- env:
- SourceRepositoryURI: $(System.PullRequest.SourceRepositoryURI)
- SourceBranch: $(System.PullRequest.SourceBranch)
0 commit comments