forked from microsoft/semantic-kernel
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (27 loc) · 868 Bytes
/
Copy pathpython-manual-release.yml
File metadata and controls
30 lines (27 loc) · 868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Python Start Release on ADO
on:
workflow_dispatch:
inputs:
tag:
description: "Tag to release"
required: true
permissions:
contents: read
id-token: write
jobs:
python-start-ado-release-job:
name: Trigger ADO Pipeline for Python Release
runs-on: ubuntu-latest
environment: "integration"
steps:
- name: Azure Login
uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- name: Start DevOps pipeline
uses: azure/cli@v2
with:
inlineScript: |
az pipelines run --id ${{ vars.ADO_PYTHON_RELEASE_ID }} --org ${{ vars.ADO_ORG }} --project ${{ vars.ADO_PROJECT_NAME }} --parameters tag=${{ inputs.tag }} delay=0