Skip to content

Commit

Permalink
Correct the windows runner path
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Liang <jiallian@amazon.com>
  • Loading branch information
RyanL1997 committed Oct 4, 2023
1 parent 459a6d2 commit 3a42cc0
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,12 @@ jobs:
- name: Add Admin Credential on Windows
if: ${{ runner.os == 'Windows' }}
run: |
$currentDir = Get-Location
Write-Output "Current directory is: $currentDir"
Add-Content -Path D:\a\work\security\security\config\internal_users.yml -Value "admin:"
Add-Content -Path D:\a\work\security\security\config\internal_users.yml -Value " hash: `"$2a$12$VcCDgh2NDk07JGN0rjGbM.Ad41qVR/YFJcgHp0UGns5JDymv..TOG`""
Add-Content -Path D:\a\work\security\security\config\internal_users.yml -Value " reserved: true"
Add-Content -Path D:\a\work\security\security\config\internal_users.yml -Value " backend_roles:"
Add-Content -Path D:\a\work\security\security\config\internal_users.yml -Value " - `"admin`""
Add-Content -Path D:\a\work\security\security\config\internal_users.yml -Value " description: `"Demo admin user`""
Add-Content -Path D:\a\security\security\security\config\internal_users.yml -Value "admin:"
Add-Content -Path D:\a\security\security\security\config\internal_users.yml -Value " hash: `"$2a$12$VcCDgh2NDk07JGN0rjGbM.Ad41qVR/YFJcgHp0UGns5JDymv..TOG`""
Add-Content -Path D:\a\security\security\security\config\internal_users.yml -Value " reserved: true"
Add-Content -Path D:\a\security\security\security\config\internal_users.yml -Value " backend_roles:"
Add-Content -Path D:\a\security\security\security\config\internal_users.yml -Value " - `"admin`""
Add-Content -Path D:\a\security\security\security\config\internal_users.yml -Value " description: `"Demo admin user`""
shell: pwsh

- name: Build and Test
Expand Down

0 comments on commit 3a42cc0

Please sign in to comment.