Skip to content

Commit 86571b3

Browse files
authored
Update iga.yaml
1 parent 4239313 commit 86571b3

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

.github/workflows/iga.yaml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ env:
99
parent_record: "6qhkm-7n074"
1010
debug: false
1111

12-
# This variable is a setting for post-archiving CodeMeta file updates.
12+
# This variable is a setting for post-archiving CodeMeta file updates.
1313
# If you don't have a CodeMeta file, you can remove the add_doi_codemeta
14-
# job at the bottom of this file.
14+
# and Coremeta2CFF jobs at the bottom of this file.
1515
ref: main
1616

1717
# ╭────────────────────────────────────────────╮
@@ -91,3 +91,18 @@ jobs:
9191
with:
9292
message: 'Add DOI to codemeta.json file'
9393
add: 'codemeta.json'
94+
CodeMeta2CFF:
95+
runs-on: ubuntu-latest
96+
needs: add_doi_codemeta
97+
steps:
98+
- name: Checkout
99+
uses: actions/checkout@v4
100+
with:
101+
ref: ${{ env.ref }}
102+
- name: Convert CFF
103+
uses: caltechlibrary/codemeta2cff@main
104+
- name: Commit CFF
105+
uses: EndBug/add-and-commit@v9
106+
with:
107+
message: 'Add updated CITATION.cff from codemeta.json file'
108+
add: 'CITATION.cff'

0 commit comments

Comments
 (0)