Skip to content

Commit 4c5813e

Browse files
Update upd-xna-client.yml
1 parent 6140912 commit 4c5813e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/upd-xna-client.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff 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 }}'

0 commit comments

Comments
 (0)