Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/build-asan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,8 @@ jobs:
git config --global user.email "alexhultman@gmail.com"
git config --global user.name "Alex Hultman"
git commit -a -m "[GitHub Actions] Updated ${{ matrix.os }} ASAN binaries" || true
git push "https://unetworkingab:${{ secrets.SECRET }}@github.com/uNetworking/uWebSockets.js" binaries-asan
# Another job can push in between: then its commit is taken and the push tried again, up to three
# times. One line, because PowerShell and bash both read && and || left to right. -X theirs keeps
# this job's version of a file both changed, like source_commit
git remote set-url --push origin "https://unetworkingab:${{ secrets.SECRET }}@github.com/uNetworking/uWebSockets.js"
git push origin binaries-asan || git pull --rebase -X theirs origin binaries-asan && git push origin binaries-asan || git pull --rebase -X theirs origin binaries-asan && git push origin binaries-asan || git pull --rebase -X theirs origin binaries-asan && git push origin binaries-asan
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,8 @@ jobs:
git config --global user.email "alexhultman@gmail.com"
git config --global user.name "Alex Hultman"
git commit -a -m "[GitHub Actions] Updated ${{ matrix.os }} binaries" || true
git push "https://unetworkingab:${{ secrets.SECRET }}@github.com/uNetworking/uWebSockets.js" binaries
# Another job can push in between: then its commit is taken and the push tried again, up to three
# times. One line, because PowerShell and bash both read && and || left to right. -X theirs keeps
# this job's version of a file both changed, like source_commit
git remote set-url --push origin "https://unetworkingab:${{ secrets.SECRET }}@github.com/uNetworking/uWebSockets.js"
git push origin binaries || git pull --rebase -X theirs origin binaries && git push origin binaries || git pull --rebase -X theirs origin binaries && git push origin binaries || git pull --rebase -X theirs origin binaries && git push origin binaries