Open GONNAGITU72 opened 4 months ago
# Set the sshd service to be started automatically
Get-Service -Name sshd | Set-Service -StartupType Automatic
Start-Service sshd
ssh-keygen -t ed25519# By default the ssh-agent service is disabled. Configure it to start automatically.
Get-Service ssh-agent | Set-Service -StartupType Automatic
Start-Service ssh-agent
Get-Service ssh-agent
ssh-add $env:USERPROFILE.ssh\id_ed25519steps:
uses: actions/checkout@v3
uses: actions/cache/restore@v3 id: cache with: path: path/to/dependencies key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
name: Install Dependencies if: steps.cache.outputs.cache-hit != 'true' run: /install.sh
name: Build run: /build.sh
name: Publish package to public run: /publish.shsteps:
name: Build run: /build-parent-module.sh
uses: actions/cache/save@v3 id: cache with: path: path/to/dependencies key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}steps:
name: Build run: /build-child-module.sh
uses: actions/cache/restore@v3 id: cache with: path: path/to/dependencies key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }} fail-on-cache-miss: true
name: Build run: /build.sh - name: Setup Node.js environment uses: actions/setup-node@v4.0.2
Originally posted by @GONNAGITU72 in https://github.com/github/docs/issues/31497#issuecomment-1932035980
Get-Service -Name sshd | Set-Service -StartupType Automatic
Now start the sshd service
Start-Service sshd
ssh-keygen -t ed25519# By default the ssh-agent service is disabled. Configure it to start automatically.
Make sure you're running as an Administrator.
Get-Service ssh-agent | Set-Service -StartupType Automatic
Start the service
Start-Service ssh-agent
This should return a status of Running
Get-Service ssh-agent
Now load your key files into ssh-agent
ssh-add $env:USERPROFILE.ssh\id_ed25519steps:
uses: actions/checkout@v3
uses: actions/cache/restore@v3 id: cache with: path: path/to/dependencies key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
name: Install Dependencies if: steps.cache.outputs.cache-hit != 'true' run: /install.sh
name: Build run: /build.sh
name: Publish package to public run: /publish.shsteps:
uses: actions/checkout@v3
name: Build run: /build-parent-module.sh
uses: actions/cache/save@v3 id: cache with: path: path/to/dependencies key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}steps:
uses: actions/checkout@v3
uses: actions/cache/restore@v3 id: cache with: path: path/to/dependencies key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
name: Install Dependencies if: steps.cache.outputs.cache-hit != 'true' run: /install.sh
name: Build run: /build-child-module.sh
name: Publish package to public run: /publish.shsteps:
uses: actions/checkout@v3
uses: actions/cache/restore@v3 id: cache with: path: path/to/dependencies key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }} fail-on-cache-miss: true
name: Build run: /build.sh - name: Setup Node.js environment uses: actions/setup-node@v4.0.2
Originally posted by @GONNAGITU72 in https://github.com/github/docs/issues/31497#issuecomment-1932035980