Skip to content

Commit

Permalink
Update new6.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tboenig committed Mar 27, 2024
1 parent bd1b6a5 commit 6626c93
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/new6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,25 @@ jobs:
- name: copy schema
run: |
sudo cp schema/OCR-D-GT-levelSchema.json out/schema/
- name: Get SDK Version from config
id: lookupSdkVersion
uses: mikefarah/yq@master
with:
cmd: |
yq eval 'append("commit: ${{ github.ref_name }}\nversion: ${{ github.run_number }}_${{ github.ref_name }}\ndate-released: 'NOW=$(date +'%Y-%m-%d')'\n")' CITATION.cff
- name: Commit Citation.cff
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add CITATION.cff
git commit -m "[Automatic] Update CITATION.cff files" || echo "Nothing to update"
git push origin HEAD:main



# - name: Build PDF
Expand Down

0 comments on commit 6626c93

Please sign in to comment.