mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-28 14:03:35 +00:00
Auto merge of #15769 - lnicola:metrics-ssh, r=lnicola
internal: Create `~/.ssh` before writing deploy key
This commit is contained in:
commit
03f676ed1f
1 changed files with 2 additions and 0 deletions
2
.github/workflows/metrics.yaml
vendored
2
.github/workflows/metrics.yaml
vendored
|
@ -140,8 +140,10 @@ jobs:
|
||||||
|
|
||||||
- name: Combine json
|
- name: Combine json
|
||||||
run: |
|
run: |
|
||||||
|
mkdir ~/.ssh
|
||||||
echo "${{ secrets.METRICS_DEPLOY_KEY }}" > ~/.ssh/id_ed25519
|
echo "${{ secrets.METRICS_DEPLOY_KEY }}" > ~/.ssh/id_ed25519
|
||||||
chmod 600 ~/.ssh/id_ed25519
|
chmod 600 ~/.ssh/id_ed25519
|
||||||
|
chmod 700 ~/.ssh
|
||||||
|
|
||||||
git clone --depth 1 git@github.com/rust-analyzer/metrics.git
|
git clone --depth 1 git@github.com/rust-analyzer/metrics.git
|
||||||
jq -s ".[0] * .[1] * .[2] * .[3] * .[4] * .[5]" build.json self.json ripgrep-13.0.0.json webrender-2022.json diesel-1.4.8.json hyper-0.14.18.json -c >> metrics/metrics.json
|
jq -s ".[0] * .[1] * .[2] * .[3] * .[4] * .[5]" build.json self.json ripgrep-13.0.0.json webrender-2022.json diesel-1.4.8.json hyper-0.14.18.json -c >> metrics/metrics.json
|
||||||
|
|
Loading…
Reference in a new issue