Merge branch 'master' into patch-1

This commit is contained in:
Matthias Pigulla 2022-11-25 19:45:40 +01:00 committed by GitHub
commit 3b5f9222e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,13 +35,12 @@ jobs:
my_job:
...
steps:
- actions/checkout@v2
# Make sure the @v0.6.0 matches the current version of the
# action
- uses: webfactory/ssh-agent@v0.6.0
- uses: actions/checkout@v3
# Make sure the @v0.7.0 matches the current version of the action
- uses: webfactory/ssh-agent@v0.7.0
with:
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.
@ -53,7 +52,7 @@ You can set up different keys as different secrets and pass them all to the acti
```yaml
# ... contents as before
- uses: webfactory/ssh-agent@v0.6.0
- uses: webfactory/ssh-agent@v0.7.0
with:
ssh-private-key: |
${{ secrets.FIRST_KEY }}