chore: update all versions of actions/checkout
to v4 (#199)
#472
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [ push, pull_request ] | |
jobs: | |
deployment_keys_demo: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest, macOS-latest, windows-latest ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup key | |
uses: ./ | |
with: | |
ssh-private-key: | | |
${{ secrets.MPDUDE_TEST_1_DEPLOY_KEY }} | |
${{ secrets.MPDUDE_TEST_2_DEPLOY_KEY }} | |
- run: | | |
git clone https://github.com/mpdude/test-1.git test-1-http | |
git clone [email protected]:mpdude/test-1.git test-1-git | |
git clone ssh://[email protected]/mpdude/test-1.git test-1-git-ssh | |
git clone https://github.com/mpdude/test-2.git test-2-http | |
git clone [email protected]:mpdude/test-2.git test-2-git | |
git clone ssh://[email protected]/mpdude/test-2.git test-2-git-ssh | |
docker_demo: | |
runs-on: ubuntu-latest | |
container: | |
image: ubuntu:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: apt update && apt install -y openssh-client git | |
- name: Setup key | |
uses: ./ | |
with: | |
ssh-private-key: | | |
${{ secrets.MPDUDE_TEST_1_DEPLOY_KEY }} | |
${{ secrets.MPDUDE_TEST_2_DEPLOY_KEY }} | |
- run: | | |
git clone https://github.com/mpdude/test-1.git test-1-http | |
git clone [email protected]:mpdude/test-1.git test-1-git | |
git clone ssh://[email protected]/mpdude/test-1.git test-1-git-ssh | |
git clone https://github.com/mpdude/test-2.git test-2-http | |
git clone [email protected]:mpdude/test-2.git test-2-git | |
git clone ssh://[email protected]/mpdude/test-2.git test-2-git-ssh | |