Skip to content

Commit

Permalink
fix: CI copy README.md location
Browse files Browse the repository at this point in the history
  • Loading branch information
OS-pedrogustavobilro committed Jan 9, 2025
1 parent b0ca0c4 commit c029e10
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/reusable_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ jobs:
uses: ./.github/actions/setup-tools

- name: 'Copy original README.md'
working-directory: ./packages/capacitor-plugin
run: cp README.md README.md.original

- name: 'Build Packages (and update docs)'
working-directory: ./packages/capacitor-plugin
run: npm run build

- name: Check README.md changes
working-directory: ./packages/capacitor-plugin
run: |
if ! cmp --silent README.md README.md.original; then
echo "Detected README.md changes; Do 'npm run build' and commit the change."
Expand Down

0 comments on commit c029e10

Please sign in to comment.