Update README.md

update actions/checkout to v3 and make it syntactically correct in order to allow copy and paste
This commit is contained in:
kjarkur 2022-10-31 10:48:33 -04:00 committed by GitHub
parent 4512be8010
commit b11210b82f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,13 +35,13 @@ jobs:
my_job: my_job:
... ...
steps: steps:
- actions/checkout@v2 - uses: actions/checkout@v3
# Make sure the @v0.6.0 matches the current version of the # Make sure the @v0.6.0 matches the current version of the
# action # action
- uses: webfactory/ssh-agent@v0.6.0 - uses: webfactory/ssh-agent@v0.6.0
with: with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- ... other steps # ... other steps
``` ```
5. If, for some reason, you need to change the location of the SSH agent socket, you can use the `ssh-auth-sock` input to provide a path. 5. If, for some reason, you need to change the location of the SSH agent socket, you can use the `ssh-auth-sock` input to provide a path.