Skip to content

Commit db4c9a2

Browse files
authored
Merge branch 'dev' into bugfix/extra-files
2 parents 2e8bf9a + ffdcd17 commit db4c9a2

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.azure-pipelines/generation-templates/php-kiota.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,12 @@ steps:
99
BuildConfiguration: $(buildConfiguration)
1010
OutputFullPath: $(kiotaDirectory)/output/*
1111
RepoModelsDir: $(Build.SourcesDirectory)/${{ parameters.repoName }}/src/Generated/
12+
13+
# right now the script runs fine with PHP 8.1 which is what is installed by default on the agent
14+
# https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md
15+
# but we should use a setup task to install the right version of PHP
16+
# however, there does not seem to exist a setup-php task (equivalent to UseDotnet)
17+
18+
- pwsh: 'php $(Build.SourcesDirectory)/${{ parameters.repoName }}/scripts/BumpStableSdkVersion.php'
19+
displayName: Bump minor version for ${{ parameters.repoName }}
20+
workingDirectory: $(Build.SourcesDirectory)/${{ parameters.repoName }}/

0 commit comments

Comments
 (0)