-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Labels
need-to-triageRequires investigationRequires investigation
Description
Sample provided on the README gives an action that won't operate correctly.
- uses: Azure/pipelines@v1
with:
azure-devops-project-url: 'https://dev.azure.com/organization/project-name'
azure-pipeline-name: 'pipeline-name' # name of the Azure pipeline to be triggered
azure-devops-token: '${{ secrets.AZURE_DEVOPS_TOKEN }}'
azure-pipeline-variables: '{"variable1": "value1", "variable2": "value2"}' # optional stringified json
however if you use 'azure-pipeline-variables' in your own action you get
Warning: Unexpected input(s) 'azure-pipeline-variables', valid inputs are ['azure-devops-project-url', 'azure-pipeline-name', 'azure-devops-token']
So sample should read
- uses: Azure/[email protected]
with:
azure-devops-project-url: 'https://dev.azure.com/organization/project-name'
azure-pipeline-name: 'pipeline-name' # name of the Azure pipeline to be triggered
azure-devops-token: '${{ secrets.AZURE_DEVOPS_TOKEN }}'
azure-pipeline-variables: '{"variable1": "value1", "variable2": "value2"}' # optional stringified json
Encountered on 3drepo/3drepo.io#3475
shaulimaya, cba-global-professional-service, catoa and kittyyueliTyler-Angell and dnegrisolli
Metadata
Metadata
Assignees
Labels
need-to-triageRequires investigationRequires investigation