|
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 "alexhultman@gmail.com" |
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 |
|
39 | 39 | sudo apt update || true |
40 | 40 | brew install go || true |
41 | 41 | sudo apt install -y g++-aarch64-linux-gnu || true |
42 | | - git clone --recursive https://github.com/uNetworking/uWebSockets.js.git |
| 42 | + git clone --recursive https://github.com/${{ github.repository }}.git |
43 | 43 | cd uWebSockets.js |
44 | 44 | make |
45 | 45 | git fetch origin binaries:binaries |
|
52 | 52 | git config --global user.email "alexhultman@gmail.com" |
53 | 53 | git config --global user.name "Alex Hultman" |
54 | 54 | git commit -a -m "[GitHub Actions] Updated ${{ matrix.os }} binaries" || true |
55 | | - git push "https://unetworkingab:${{ secrets.SECRET }}@github.com/uNetworking/uWebSockets.js" binaries |
| 55 | + git push "https://unetworkingab:${{ secrets.SECRET }}@github.com/${{ github.repository }}" binaries |
56 | 56 | git checkout master -- tests/smoke.js |
57 | 57 | npm install ws |
58 | 58 | node tests/smoke.js |
|
66 | 66 | os: ubuntu20.04 |
67 | 67 | steps: |
68 | 68 | - name: Clone |
69 | | - run: git clone --recursive https://github.com/uNetworking/uWebSockets.js.git |
| 69 | + run: git clone --recursive https://github.com/${{ github.repository }}.git |
70 | 70 | - uses: uraimo/run-on-arch-action@v2.8.1 |
71 | 71 | name: Compile binaries |
72 | 72 | with: |
|
94 | 94 | git config --global user.name "Alex Hultman" |
95 | 95 | git add *.node *.js |
96 | 96 | git commit -a -m "[GitHub Actions] Updated linux-${{ matrix.arch }} binaries" || true |
97 | | - git push "https://unetworkingab:${{ secrets.SECRET }}@github.com/uNetworking/uWebSockets.js" binaries |
| 97 | + git push "https://unetworkingab:${{ secrets.SECRET }}@github.com/${{ github.repository }}" binaries |
0 commit comments