chore: wait 30 seconds before checking winget PR in release.yaml (#8835)

This commit is contained in:
Muhammad Atif Ali
2023-08-01 14:57:25 +00:00
committed by GitHub
parent b104bb7005
commit e23e5262b4
+2
View File
@@ -407,6 +407,8 @@ jobs:
- name: Comment on PR
if: ${{ !inputs.dry_run }}
run: |
# wait 30 seconds
Start-Sleep -Seconds 30.0
# Find the PR that wingetcreate just made.
$version = "${{ needs.release.outputs.version }}".Trim('v')
$pr_list = gh pr list --repo microsoft/winget-pkgs --search "author:cdrci Coder.Coder version ${version}" --limit 1 --json number | `