Skip to content

Commit b50ed58

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

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

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

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ on:
1414
env:
1515
CLIENT_PATH: ClientFiles # Do not add trailing slash
1616
UPDATE_BRANCH_NAME: update-client-binaries # The workflow adds the release tag after this value, i.e. "update-client-binaries-2.12.13"
17+
TARGET_BRANCH: master
1718
COMMIT_MESSAGE: Update client binaries to the latest version
1819
PR_TITLE: Update client binaries to the version # The workflow adds the release tag after this value, i.e. "Update client binaries to the version 2.12.13"
1920
PR_BODY: This is an automatic pull request to update client binaries to the latest release published in [CnCNet/xna-cncnet-client](https://github.com/CnCNet/xna-cncnet-client) repository.
@@ -181,16 +182,10 @@ jobs:
181182
# Simulate calling a batch file (cmd /c)
182183
# inside of which the `start` call is made,
183184
# waiting for 5 seconds in this example.
184-
cmd /c start /min timeout.exe 5
185+
cmd /c start /min timeout.exe 10
185186
} | Receive-Job -Wait -AutoRemoveJob
186187
187188
# Open a PR
188-
# 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 }}'
189+
# gh pr create -B ${{ env.TARGET_BRANCH }} -H ${{ env.UPDATE_BRANCH_NAME }}-${{ steps.download.outputs.tag_name }} --title '${{ env.PR_TITLE }} ${{ steps.download.outputs.tag_name }}' --body '${{ env.PR_BODY }}'
189190
}
190191
}
191-
192-
- name: Open PR
193-
env:
194-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
195-
run: |
196-
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)