Skip to content

Commit

Permalink
Try to add debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasPerell committed Aug 30, 2024
1 parent 65469d2 commit 141711a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/copy-documentation-readme-upwards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
git config user.email [email protected]
$readmeDir = Get-Item -Path "**/Packages/com.*/Documentation~" | Select-Object -ExpandProperty FullName
$readmeDir = $readmeDir.replace('${{ github.workspace }}/','')
$readmeDir
echo $readmeDir
$readmeContent = gc (Get-Item -Path "**/Packages/com.*/Documentation~/README.md") -Raw
$readmeContent = $readmeContent -replace '(\[.*\])\(((?!https?:\/\/).+)\)',('$1('+$readmeDir+'$2)')
Set-Content ./README.md $readme
gc ./README.md
git add ./README.md
git commit -m 'Copied repo README from package README'
echo (gc ./README.md -Raw)
# Set-Content ./README.md $readme
# git add ./README.md
# git commit -m 'Copied repo README from package README'
working-directory: ${{ github.workspace }}
shell: pwsh

0 comments on commit 141711a

Please sign in to comment.