[ci] Add SSH key before init-submodules for access to rocket-gpu

Need to do the same for every init-submodule script run
This commit is contained in:
Hansung Kim
2023-10-17 11:41:04 -07:00
parent 3bd68911c3
commit e966b91cbe
3 changed files with 4 additions and 2 deletions

View File

@@ -20,6 +20,8 @@ runs:
- name: Init submodules to ensure stimuli is located
run: |
conda activate ${{ env.conda-env-name-no-time }}-$(date --date "${{ env.workflow-timestamp }}" +%Y%m%d)-${{ inputs.toolchain }}
eval `ssh-agent -s`
ssh-add - <<< '${{ secrets.PRIVATE_SSH_KEY }}'
./scripts/init-submodules-no-riscv-tools.sh --force
shell: bash -leo pipefail {0}