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