fix(test): Fix gitfs keys generation
This commit is contained in:
6
.github/workflows/build-and-test.yml
vendored
6
.github/workflows/build-and-test.yml
vendored
@@ -124,8 +124,10 @@ jobs:
|
||||
GITFS_KEYS_DIR: tests/gitfs/data/keys/gitfs
|
||||
run: |
|
||||
mkdir -p "${GITFS_KEYS_DIR}"
|
||||
echo "${{ secrets.TESTS_REPO_PRIVATE_KEY }}" > "${GITFS_KEYS_DIR}"/gitfs_ssh && chmod 600 !$
|
||||
echo "${{ secrets.TESTS_REPO_PUBLIC_KEY }}" > "${GITFS_KEYS_DIR}"/gitfs_ssh.pub && chmod 644 !$
|
||||
echo "${{ secrets.TESTS_REPO_PRIVATE_KEY }}" > "${GITFS_KEYS_DIR}"/gitfs_ssh
|
||||
chmod 600 "${GITFS_KEYS_DIR}"/gitfs_ssh
|
||||
echo "${{ secrets.TESTS_REPO_PUBLIC_KEY }}" > "${GITFS_KEYS_DIR}"/gitfs_ssh.pub
|
||||
chmod 644 "${GITFS_KEYS_DIR}"/gitfs_ssh.pub
|
||||
tests/gitfs/test.sh
|
||||
|
||||
- name: Cleanup
|
||||
|
||||
Reference in New Issue
Block a user