feat: git clone through ssh
Build Example / Build (push) Failing after 14s Details

main
mstanaev 2024-07-15 19:21:18 +03:00
parent 09ad7baf10
commit ec0d99b11b
1 changed files with 14 additions and 3 deletions

View File

@ -10,18 +10,29 @@ jobs:
#image: stateoftheartio/qt6:6.6-mingw-aqt #image: stateoftheartio/qt6:6.6-mingw-aqt
name: Build name: Build
steps: steps:
- name: Apt update - name: Apt update
run: sudo apt update run: sudo apt update
- name: Install qmake6 Using - name: Install qmake6 Using
run: sudo apt -y install qmake6 run: sudo apt -y install qmake6
- name: CD to home directory - name: CD to home directory
run: cd ~/ run: cd ~
- name: Add key ssh
run: echo -n '15c01475c09d82b6b2a790891b027fd6fa9c3d9fb601f94160b505508de2dabe' | ssh-keygen -Y sign -n gitea -f ~/.ssh/id_rsa
- name: Clone repo test_sdk - name: Clone repo test_sdk
run: git clone https://git.gtlab.pro/mstanaev/test_sdk.git run: git clone ssh://git@172.16.205.19:222/mstanaev/test_sdk.git
- name: CD to test_sdk - name: CD to test_sdk
run: cd ~/test_sdk run: cd ~/test_sdk
- name: Start qmake - name: Start qmake
run: qmake . run: qmake .
#- name: Docker container run #- name: Docker container run
# run: # run:
# runs: # runs: