File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed
Expand file tree Collapse file tree 1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change 1919 COMMIT_HASH : ${{ github.event.inputs.commit_hash }}
2020 JAVA_VERSION : " 21"
2121 JAVA_DISTRIBUTION : " corretto"
22- # synapse id of the annotator.jar
23- SYNAPSE_ENTITY_ID : syn22084320
22+ # synapse id of the Genome Nexus folder
23+ OUTPUT_FOLDER_SYNAPSE_ID : syn22105656
2424 # env vars related to testing the annotator.jar
2525 PROD_DOCKER : ghcr.io/sage-bionetworks/genie:main
2626 SYNAPSE_AUTH_TOKEN : ${{ secrets.SYNAPSE_AUTH_TOKEN }}
@@ -96,13 +96,20 @@ jobs:
9696 fi
9797
9898 echo "Found JAR: $FILE_PATH"
99- echo "Uploading to Synapse entity $SYNAPSE_ENTITY_ID..."
99+
100+ # Rename to annotator.jar
101+ TARGET_PATH="annotationPipeline/target/annotator.jar"
102+ cp "$FILE_PATH" "$TARGET_PATH"
103+
104+ echo "Renamed to: $TARGET_PATH"
105+ ls -lh "$TARGET_PATH"
106+
107+ echo "Uploading to Synapse entity ${{ env.OUTPUT_FOLDER_SYNAPSE_ID }}..."
100108
101109 synapse login
102110
103- # Apload!
104- synapse store "$FILE_PATH" \
105- --parentid "$SYNAPSE_ENTITY_ID" \
111+ # Upload!
112+ synapse store "$TARGET_PATH" --parentid ${{ env.OUTPUT_FOLDER_SYNAPSE_ID }}
106113 check-annotator-build :
107114 needs : build-annotator
108115 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments