diff --git a/.github/workflows/update_readme.yaml b/.github/workflows/update_readme.yaml index 9c4ca49..35614e2 100644 --- a/.github/workflows/update_readme.yaml +++ b/.github/workflows/update_readme.yaml @@ -12,6 +12,9 @@ jobs: contents: write steps: - uses: actions/checkout@v4 + - name: Update Last Updated timestamp + run: | + sed -i "s//Last Updated: $(date -u +"%Y-%m-%d %H:%M:%S")/" templates/README.md.tpl - name: Self test id: selftest uses: muesli/readme-scribe@master @@ -26,12 +29,12 @@ jobs: with: template: "templates/README.md.tpl" writeTo: "README.md" - - name: Update Last Updated timestamp - run: | - sed -i "s//_Last Updated: $(date -u +"%Y-%m-%d %H:%M:%S")/" README.md - name: Check outputs and modified files run: | cat test/README.md + - name: Check outputs and modified files_main + run: | + cat README.md - uses: stefanzweifel/git-auto-commit-action@v5 with: commit_message: Update README.md \ No newline at end of file