diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 8e841108..8f223912 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -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