File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,13 @@ jobs:
176176 git push --force origin ${{ env.UPDATE_BRANCH_NAME }}-${{ steps.download.outputs.tag_name }}
177177
178178 # This timeout is for the remote server to index received content
179- timeout /t 100
179+ # https://stackoverflow.com/questions/74842935/powershell-batch-script-timeout-error-input-redirection-is-not-supported-exiti
180+ Start-Job {
181+ # Simulate calling a batch file (cmd /c)
182+ # inside of which the `start` call is made,
183+ # waiting for 5 seconds in this example.
184+ cmd /c start /min timeout.exe 5
185+ } | Receive-Job -Wait -AutoRemoveJob
180186
181187 # Open a PR
182188 # gh pr create -B main -H ${{ env.UPDATE_BRANCH_NAME }}-${{ steps.download.outputs.tag_name }} --title '${{ env.PR_TITLE }} ${{ steps.download.outputs.tag_name }}' --body '${{ env.PR_BODY }}'
You can’t perform that action at this time.
0 commit comments