Skip to content

Commit

Permalink
Update upload/download artifact actions in relation-diff.yml (#28841)
Browse files Browse the repository at this point in the history
  • Loading branch information
balhoff authored Sep 5, 2024
1 parent 5ec71a0 commit 5b6fd69
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/relation-diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Run relation-graph
run: cd src/ontology; ROBOT_JAVA_ARGS=-Xmx14G robot merge --catalog catalog-v001.xml -i go-edit.obo -o go-merged.ofn; JAVA_OPTS=-Xmx14G relation-graph --ontology-file go-merged.ofn --mode RDF --output-file go-rels.nt --output-subclasses true --reflexive-subclasses false --equivalence-as-subclass false; sed 's/ /\t/' <go-rels.nt | sed 's/ /\t/' | sed 's/ \.$//' >right.facts
- name: Upload PR facts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: right.facts
path: src/ontology/right.facts
Expand All @@ -27,7 +27,7 @@ jobs:
- name: Run relation-graph
run: cd src/ontology; ROBOT_JAVA_ARGS=-Xmx14G robot merge --catalog catalog-v001.xml -i go-edit.obo -o go-merged.ofn; JAVA_OPTS=-Xmx14G relation-graph --ontology-file go-merged.ofn --mode RDF --output-file go-rels.nt --output-subclasses true --reflexive-subclasses false --equivalence-as-subclass false; sed 's/ /\t/' <go-rels.nt | sed 's/ /\t/' | sed 's/ \.$//' >left.facts
- name: Upload PR facts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: left.facts
path: src/ontology/left.facts
Expand All @@ -40,7 +40,7 @@ jobs:
- name: Create merged ontology
run: cd src/ontology; ROBOT_JAVA_ARGS=-Xmx14G robot merge --catalog catalog-v001.xml -i go-edit.obo -o go-merged.ttl; riot --output=ntriples go-merged.ttl | sed 's/ /\t/' | sed 's/ /\t/' | sed 's/ \.$//' >ontrdf.facts
- name: Upload ontrdf facts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ontrdf.facts
path: src/ontology/ontrdf.facts
Expand All @@ -55,17 +55,17 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Download master relations
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: left.facts
path: left.facts
- name: Download PR relations
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: right.facts
path: right.facts
- name: Download merged ontology
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: ontrdf.facts
path: ontrdf.facts
Expand All @@ -74,7 +74,7 @@ jobs:
- name: Combine output
run: cat lost.csv gained.csv >diff.tsv
- name: Upload diff
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: diff.tsv
path: diff.tsv

0 comments on commit 5b6fd69

Please sign in to comment.