Skip to content

Commit

Permalink
Add ssh-key for checkout of subversion repository
Browse files Browse the repository at this point in the history
  • Loading branch information
jun66j5 committed Sep 2, 2024
1 parent c70305a commit 1eafa37
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
repository: ${{ fromJson(inputs.subversion).repository }}
ref: ${{ fromJson(inputs.subversion).ref }}
path: subversion
ssh-key: ${{ secrets.SSH_IDENTITY_FILE }}

- name: Checkout py3c
uses: actions/checkout@v4
Expand Down Expand Up @@ -111,6 +112,7 @@ jobs:
repository: ${{ fromJson(inputs.subversion).repository }}
ref: ${{ fromJson(inputs.subversion).ref }}
path: subversion
ssh-key: ${{ secrets.SSH_IDENTITY_FILE }}

- name: Cache Subversion archives
if: ${{ fromJson(inputs.subversion).archive }}
Expand Down Expand Up @@ -163,6 +165,7 @@ jobs:
repository: ${{ fromJson(inputs.subversion).repository }}
ref: ${{ fromJson(inputs.subversion).ref }}
path: subversion
ssh-key: ${{ secrets.SSH_IDENTITY_FILE }}

- name: Cache Subversion archives
if: ${{ fromJson(inputs.subversion).archive }}
Expand Down Expand Up @@ -214,6 +217,7 @@ jobs:
repository: ${{ fromJson(inputs.subversion).repository }}
ref: ${{ fromJson(inputs.subversion).ref }}
path: subversion
ssh-key: ${{ secrets.SSH_IDENTITY_FILE }}

- name: Cache Subversion archives
if: ${{ fromJson(inputs.subversion).archive }}
Expand Down Expand Up @@ -265,6 +269,7 @@ jobs:
repository: ${{ fromJson(inputs.subversion).repository }}
ref: ${{ fromJson(inputs.subversion).ref }}
path: subversion
ssh-key: ${{ secrets.SSH_IDENTITY_FILE }}

- name: Cache Subversion archives
if: ${{ fromJson(inputs.subversion).archive }}
Expand Down Expand Up @@ -325,6 +330,7 @@ jobs:
repository: ${{ fromJson(inputs.subversion).repository }}
ref: ${{ fromJson(inputs.subversion).ref }}
path: subversion
ssh-key: ${{ secrets.SSH_IDENTITY_FILE }}

- name: Cache Subversion archives
if: ${{ fromJson(inputs.subversion).archive }}
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
repository: ${{ fromJson(inputs.subversion).repository }}
ref: ${{ fromJson(inputs.subversion).ref }}
path: subversion
ssh-key: ${{ secrets.SSH_IDENTITY_FILE }}

- name: Checkout py3c
uses: actions/checkout@v4
Expand Down Expand Up @@ -115,6 +116,7 @@ jobs:
repository: ${{ fromJson(inputs.subversion).repository }}
ref: ${{ fromJson(inputs.subversion).ref }}
path: subversion
ssh-key: ${{ secrets.SSH_IDENTITY_FILE }}

- name: Cache Subversion archives
if: ${{ fromJson(inputs.subversion).archive }}
Expand Down Expand Up @@ -165,6 +167,7 @@ jobs:
repository: ${{ fromJson(inputs.subversion).repository }}
ref: ${{ fromJson(inputs.subversion).ref }}
path: subversion
ssh-key: ${{ secrets.SSH_IDENTITY_FILE }}

- name: Cache Subversion archives
if: ${{ fromJson(inputs.subversion).archive }}
Expand Down Expand Up @@ -216,6 +219,7 @@ jobs:
repository: ${{ fromJson(inputs.subversion).repository }}
ref: ${{ fromJson(inputs.subversion).ref }}
path: subversion
ssh-key: ${{ secrets.SSH_IDENTITY_FILE }}

- name: Cache Subversion archives
if: ${{ fromJson(inputs.subversion).archive }}
Expand Down Expand Up @@ -267,6 +271,7 @@ jobs:
repository: ${{ fromJson(inputs.subversion).repository }}
ref: ${{ fromJson(inputs.subversion).ref }}
path: subversion
ssh-key: ${{ secrets.SSH_IDENTITY_FILE }}

- name: Cache Subversion archives
if: ${{ fromJson(inputs.subversion).archive }}
Expand Down Expand Up @@ -320,6 +325,7 @@ jobs:
repository: ${{ fromJson(inputs.subversion).repository }}
ref: ${{ fromJson(inputs.subversion).ref }}
path: subversion
ssh-key: ${{ secrets.SSH_IDENTITY_FILE }}

- name: Cache Subversion archives
if: ${{ fromJson(inputs.subversion).archive }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
repository: ${{ fromJson(inputs.subversion).repository }}
ref: ${{ fromJson(inputs.subversion).ref }}
path: subversion
ssh-key: ${{ secrets.SSH_IDENTITY_FILE }}

- name: Cache Subversion archives
if: ${{ fromJson(inputs.subversion).archive }}
Expand Down Expand Up @@ -129,6 +130,7 @@ jobs:
repository: ${{ fromJson(inputs.subversion).repository }}
ref: ${{ fromJson(inputs.subversion).ref }}
path: subversion
ssh-key: ${{ secrets.SSH_IDENTITY_FILE }}

- name: Cache Subversion archives
if: ${{ fromJson(inputs.subversion).archive }}
Expand Down Expand Up @@ -250,6 +252,7 @@ jobs:
repository: ${{ fromJson(inputs.subversion).repository }}
ref: ${{ fromJson(inputs.subversion).ref }}
path: subversion
ssh-key: ${{ secrets.SSH_IDENTITY_FILE }}

- name: Cache Subversion archives
if: ${{ fromJson(inputs.subversion).archive }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ jobs:
if: ${{ needs.setup.outputs.ubuntu != '[]' }}
needs: setup
uses: ./.github/workflows/test-ubuntu.yml
secrets: inherit
with:
targets: ${{ needs.setup.outputs.targets }}
os: ${{ needs.setup.outputs.ubuntu }}
Expand All @@ -129,6 +130,7 @@ jobs:
if: ${{ needs.setup.outputs.macos != '[]' }}
needs: setup
uses: ./.github/workflows/test-macos.yml
secrets: inherit
with:
targets: ${{ needs.setup.outputs.targets }}
os: ${{ needs.setup.outputs.macos }}
Expand All @@ -139,6 +141,7 @@ jobs:
if: ${{ needs.setup.outputs.windows != '[]' }}
needs: setup
uses: ./.github/workflows/test-windows.yml
secrets: inherit
with:
targets: ${{ needs.setup.outputs.targets }}
os: ${{ needs.setup.outputs.windows }}
Expand Down

0 comments on commit 1eafa37

Please sign in to comment.