Skip to content

Commit b2d4968

Browse files
committed
Check out wasiless using a deploy key.
1 parent a650698 commit b2d4968

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/python-ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@ jobs:
1313
runs-on: forge-amd64-medium
1414
steps:
1515
- uses: actions/checkout@v4
16+
- name: Get wasiless submodule
17+
# Org-internal submodules are very tricky to check out.
18+
env:
19+
SSHK: ${{ secrets.WASILESS_REPO_READ_KEY }}
20+
run: |
21+
mkdir -p $HOME/.ssh
22+
echo "$SSHK" > $HOME/.ssh/ssh.key
23+
chmod 600 $HOME/.ssh/ssh.key
24+
export GIT_SSH_COMMAND="ssh -i $HOME/.ssh/ssh.key"
25+
git submodule update --init --recursive
1626
- name: Set Up Rust Toolchain
1727
uses: actions-rust-lang/setup-rust-toolchain@v1
1828
with:

0 commit comments

Comments
 (0)