Skip to content

Commit

Permalink
removed old steps and removed 'new' from current steps (#1021)
Browse files Browse the repository at this point in the history
  • Loading branch information
christag-ni authored Nov 1, 2023
1 parent 2c87b79 commit f634044
Showing 1 changed file with 2 additions and 34 deletions.
36 changes: 2 additions & 34 deletions .github/workflows/trigger_azdo_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,39 +15,7 @@ jobs:
name: Trigger Main CI
runs-on: windows-latest
steps:
- name: Trigger Main CI
uses: Azure/pipelines@v1
if: ${{ github.repository == 'ni/grpc-device' && github.event.workflow_run.head_branch == 'main' }}
with:
azure-devops-project-url: 'https://dev.azure.com/ni/DevCentral'
azure-pipeline-name: 'ni-central-grpc_device-main-desktop'
azure-devops-token: ${{ secrets.AZDO_PIPELINE_TRIGGERS }}

- name: Trigger Release CI
uses: Azure/pipelines@v1
if: ${{ github.repository == 'ni/grpc-device' && startsWith(github.event.workflow_run.head_branch, 'releases') }}
with:
azure-devops-project-url: 'https://dev.azure.com/ni/DevCentral'
azure-pipeline-name: 'ni-central-grpc_device-release-desktop'
azure-devops-token: ${{ secrets.AZDO_PIPELINE_TRIGGERS }}

- name: Trigger Main CI
uses: Azure/pipelines@v1
if: ${{ github.repository == 'ni/grpc-device' && github.event.workflow_run.head_branch == 'main' }}
with:
azure-devops-project-url: 'https://dev.azure.com/ni/DevCentral'
azure-pipeline-name: 'ni-central-grpc_device-main-linux-rt'
azure-devops-token: ${{ secrets.AZDO_PIPELINE_TRIGGERS }}

- name: Trigger Release CI
uses: Azure/pipelines@v1
if: ${{ github.repository == 'ni/grpc-device' && startsWith(github.event.workflow_run.head_branch, 'releases') }}
with:
azure-devops-project-url: 'https://dev.azure.com/ni/DevCentral'
azure-pipeline-name: 'ni-central-grpc_device-release-linux-rt'
azure-devops-token: ${{ secrets.AZDO_PIPELINE_TRIGGERS }}

- name: Trigger New Main CI
- name: Trigger Main CI
uses: Azure/[email protected]
if: ${{ github.repository == 'ni/grpc-device' && github.event.workflow_run.head_branch == 'main' }}
with:
Expand All @@ -56,7 +24,7 @@ jobs:
azure-devops-token: ${{ secrets.AZDO_PIPELINE_TRIGGERS }}
azure-pipeline-variables: '{"BRANCH": "main", "EXPORT_NAME": "ni-grpc-device", "PHASE": "d"}'

- name: Trigger New Release CI
- name: Trigger Release CI
uses: Azure/[email protected]
if: ${{ github.repository == 'ni/grpc-device' && startsWith(github.event.workflow_run.head_branch, 'releases') }}
with:
Expand Down

0 comments on commit f634044

Please sign in to comment.