Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
action
Browse files Browse the repository at this point in the history
andrii-bodnar committed Jan 16, 2024

Verified

This commit was signed with the committer’s verified signature.
1 parent 3e4a4ea commit ce3c619
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions .github/workflows/basic.yml
Original file line number Diff line number Diff line change
@@ -32,13 +32,23 @@ jobs:
- name: Restore dependencies
run: dotnet restore

- name: Clean the Readme
run: |
sed -i.bak '/\<p align="center"\>/,/\<\\/p\>/d' README.md
sed -i.bak '/\<div/d' README.md
sed -i.bak '/\<\\/div/d' README.md
rm README.md.bak
cat README.md

# - name: Clean the Readme
# run: |
# sed -i.bak '/\<p align="center"\>/,/\<\\/p\>/d' README.md
# sed -i.bak '/\<div/d' README.md
# sed -i.bak '/\<\\/div/d' README.md
# rm README.md.bak
# cat README.md

- name: Find and Replace
uses: jacobtomlinson/gha-find-replace@v3
with:
include: "README.md"
find: "<p align=\"center\">"
replace: ""
regex: true


- name: Build
run: dotnet build -c Release --no-restore

0 comments on commit ce3c619

Please sign in to comment.