|
13 | 13 | - name: Update binaries
|
14 | 14 | run: |
|
15 | 15 | $ErrorActionPreference = 'SilentlyContinue'
|
16 |
| - git clone --recursive https://github.com/uNetworking/uWebSockets.js.git |
| 16 | + git clone --recursive https://github.com/${{ github.repository }}.git |
17 | 17 | cd uWebSockets.js
|
18 | 18 | nmake
|
19 | 19 | git fetch origin binaries:binaries
|
|
23 | 23 | git config --global user.email "[email protected]"
|
24 | 24 | git config --global user.name "Alex Hultman"
|
25 | 25 | git commit -a -m "[GitHub Actions] Updated windows-latest binaries"
|
26 |
| - git push "https://unetworkingab:${{ secrets.SECRET }}@github.com/uNetworking/uWebSockets.js" binaries |
| 26 | + git push "https://unetworkingab:${{ secrets.SECRET }}@github.com/${{ github.repository }}" binaries |
27 | 27 | git checkout master -- tests/smoke.js
|
28 | 28 | npm install ws
|
29 | 29 | node tests/smoke.js || true
|
|
42 | 42 | sudo apt update || true
|
43 | 43 | brew install go || true
|
44 | 44 | sudo apt install -y g++-aarch64-linux-gnu || true
|
45 |
| - git clone --recursive https://github.com/uNetworking/uWebSockets.js.git |
| 45 | + git clone --recursive https://github.com/${{ github.repository }}.git |
46 | 46 | cd uWebSockets.js
|
47 | 47 | make
|
48 | 48 | git fetch origin binaries:binaries
|
|
55 | 55 | git config --global user.email "[email protected]"
|
56 | 56 | git config --global user.name "Alex Hultman"
|
57 | 57 | git commit -a -m "[GitHub Actions] Updated ${{ matrix.os }} binaries" || true
|
58 |
| - git push "https://unetworkingab:${{ secrets.SECRET }}@github.com/uNetworking/uWebSockets.js" binaries |
| 58 | + git push "https://unetworkingab:${{ secrets.SECRET }}@github.com/${{ github.repository }}" binaries |
59 | 59 | git checkout master -- tests/smoke.js
|
60 | 60 | npm install ws
|
61 | 61 | node tests/smoke.js
|
|
69 | 69 | os: ubuntu22.04
|
70 | 70 | steps:
|
71 | 71 | - name: Clone
|
72 |
| - run: git clone --recursive https://github.com/uNetworking/uWebSockets.js.git |
73 | 72 |
|
| 73 | + run: git clone --recursive https://github.com/${{ github.repository }}.git |
74 | 74 | name: Compile binaries
|
75 | 75 | with:
|
76 | 76 | arch: ${{ matrix.arch }}
|
|
97 | 97 | git config --global user.name "Alex Hultman"
|
98 | 98 | git add *.node *.js
|
99 | 99 | git commit -a -m "[GitHub Actions] Updated linux-${{ matrix.arch }} binaries" || true
|
100 |
| - git push "https://unetworkingab:${{ secrets.SECRET }}@github.com/uNetworking/uWebSockets.js" binaries |
| 100 | + git push "https://unetworkingab:${{ secrets.SECRET }}@github.com/${{ github.repository }}" binaries |
0 commit comments