Skip to content

Commit

Permalink
Check to see if a quick set-centent, get-content will result in equal…
Browse files Browse the repository at this point in the history
… strings
  • Loading branch information
NicholasPerell committed Aug 31, 2024
1 parent 056330a commit ff1455d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/copy-documentation-readme-upwards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ jobs:
$readmeContent = $readmeContent -replace '(\[.*\])\(((?!https?:\/\/).+)\)',('$1('+$readmeDir+'/$2)')
echo $readmeContent
echo "v.s."
Set-Content ./README.md $readmeContent
$targetContent = gc README.md -Raw
echo $targetContent
if ($readmeContent -eq $targetContent) {echo "eq"} else {echo "ne"}
# Set-Content ./README.md $readme
# Set-Content ./README.md $readmeContent
# git add ./README.md
# git commit -m 'Copied repo README from package README'
working-directory: ${{ github.workspace }}
Expand Down

0 comments on commit ff1455d

Please sign in to comment.