mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 04:54:03 +00:00
ci: misc minor fixes
This commit is contained in:
parent
a5b2bbc505
commit
688a4df7e6
1 changed files with 2 additions and 1 deletions
3
.github/workflows/extensions.yml
vendored
3
.github/workflows/extensions.yml
vendored
|
|
@ -44,6 +44,7 @@ jobs:
|
|||
|
||||
- name: Set up Visual Studio
|
||||
if: runner.os == 'Windows'
|
||||
shell: cmd
|
||||
run: call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
|
||||
|
||||
- name: Build C files
|
||||
|
|
@ -62,7 +63,7 @@ jobs:
|
|||
run: |
|
||||
CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
||||
for attempt in {1..3}; do
|
||||
git pull --rebase origin/$CURRENT_BRANCH && git push origin $CURRENT_BRANCH && exit 0 || {
|
||||
git pull --rebase origin $CURRENT_BRANCH && git push origin $CURRENT_BRANCH && exit 0 || {
|
||||
echo "Attempt $attempt failed. Retrying in 5 seconds..."
|
||||
sleep 5
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue