This commit is contained in:
howardwu 2020-08-12 16:24:02 -07:00
parent 20fee8d54b
commit cd5fda0d49

View File

@ -57,7 +57,6 @@ jobs:
- name: Load snarkOS - name: Load snarkOS
run: | run: |
mkdir ~/.ssh
echo "${{ secrets.SNARKOS_DEPLOY_KEY }}" > ~/.ssh/id_rsa echo "${{ secrets.SNARKOS_DEPLOY_KEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa
eval $(ssh-agent -s) eval $(ssh-agent -s)
@ -93,13 +92,9 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v1 uses: actions/checkout@v1
- name: Load snarkOS - uses: webfactory/ssh-agent@v0.4.0
run: | with:
mkdir ~/.ssh ssh-private-key: ${{ secrets.SNARKOS_DEPLOY_KEY }}
echo "${{ secrets.SNARKOS_DEPLOY_KEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
eval $(ssh-agent -s)
ssh-add -k ~/.ssh/id_rsa
- name: Install Rust - name: Install Rust
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1