Skip to content

Commit

Permalink
Improve on readme workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bordoni committed Apr 22, 2024
1 parent 2bbe9c7 commit 52b50dc
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,29 @@ jobs:
runs-on: ubuntu-latest
name: Generate Readme
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 1

- name: Install composer
uses: php-actions/composer@v5
uses: php-actions/composer@v6
env:
COMPOSER_PROCESS_TIMEOUT: 2000
with:
php_version: 7.3
version: 1
php_version: 7.4

- name: Execute the markdown Readme generation script
run: dev/generate-markdown-readme

- name: Commit readme file
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Apply readme.md Changes
branch: main
file_pattern: readme.md

- name: Commit readme.php file
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Apply data/readme.php Changes
branch: main
Expand Down

0 comments on commit 52b50dc

Please sign in to comment.