@@ -145,10 +145,6 @@ jobs:
145
145
ref : PHP-8.4
146
146
- name : Install dependencies
147
147
run : pnpm install
148
- - name : Give GitHub Actions access to ext-php-rs
149
- uses :
webfactory/[email protected]
150
- with :
151
- ssh-private-key : ${{ secrets.SECRET_REPO_DEPLOY_KEY }}
152
148
- name : Fetch cargo dependencies
153
149
run : cargo fetch --target ${{ matrix.settings.target }}
154
150
shell : bash
@@ -200,8 +196,6 @@ jobs:
200
196
- name : Build in docker
201
197
uses : addnab/docker-run-action@v3
202
198
if : ${{ matrix.settings.docker }}
203
- env :
204
- ID_RSA : ${{ secrets.SECRET_REPO_DEPLOY_KEY }}
205
199
with :
206
200
image : ${{ matrix.settings.docker }}
207
201
options : ' --user 0:0 -v ${{ github.workspace }}/.cargo-cache/git/db:/usr/local/cargo/git/db -v ${{ github.workspace }}/.cargo/registry/cache:/usr/local/cargo/registry/cache -v ${{ github.workspace }}/.cargo/registry/index:/usr/local/cargo/registry/index -v ${{ github.workspace }}:/build -w /build'
@@ -218,17 +212,6 @@ jobs:
218
212
corepack disable
219
213
npm i -g pnpm
220
214
221
- # Set up SSH key (to checkout ext-php-rs with cargo)
222
- mkdir -p ~/.ssh
223
- eval `ssh-agent -s`
224
- echo "${{ secrets.SECRET_REPO_DEPLOY_KEY }}" | tr -d '\r' | ssh-add -
225
- ssh-add -l
226
- mkdir -p ~/.ssh
227
- touch ~/.ssh/config
228
- touch ~/.ssh/known_hosts
229
- chmod -R 400 ~/.ssh
230
- ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
231
-
232
215
# Build PHP
233
216
cd php-src
234
217
./buildconf --force
@@ -366,10 +349,6 @@ jobs:
366
349
- name : List packages
367
350
run : ls -R ./npm
368
351
shell : bash
369
- - name : Give GitHub Actions access to ext-php-rs
370
- uses :
webfactory/[email protected]
371
- with :
372
- ssh-private-key : ${{ secrets.SECRET_REPO_DEPLOY_KEY }}
373
352
- name : Test bindings
374
353
run : pnpm test
375
354
0 commit comments