Skip to content

Commit

Permalink
Try using LFS
Browse files Browse the repository at this point in the history
  • Loading branch information
YohannParis committed Oct 2, 2023
1 parent ab6a0cc commit f52c779
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ github.event.workflow_run.head_branch }}
lfs: true

- name: Checkout Git LFS objects
run: git lfs checkout

- name: Setup JDK (w/ SBT)
uses: actions/setup-java@v3
Expand Down Expand Up @@ -102,22 +106,14 @@ jobs:
git commit --amend --no-edit
git push --force
- name: Add big model to Git LFS
run: |
git lfs track "skema/text_reading/scala/webapp/target/docker/stage/skema/text_reading/webapp/app/lib/org.clulab.*.jar"
- name: Git push org.clulab.* libs
run: |
git add --force skema/text_reading/scala/webapp/target/docker/stage/skema/text_reading/webapp/app/lib/org.clulab.epidemiology*
git commit --amend --no-edit
git push --force
git add --force skema/text_reading/scala/webapp/target/docker/stage/skema/text_reading/webapp/app/lib/org.clulab.pdf2txt*
git commit --amend --no-edit
git push --force
git add --force skema/text_reading/scala/webapp/target/docker/stage/skema/text_reading/webapp/app/lib/org.clulab.processors*
git commit --amend --no-edit
git push --force
git add --force skema/text_reading/scala/webapp/target/docker/stage/skema/text_reading/webapp/app/lib/org.clulab.glove*
git commit --amend --no-edit
git push --force
git add --force skema/text_reading/scala/webapp/target/docker/stage/skema/text_reading/webapp/app/lib/org.clulab.*
git reset skema/text_reading/scala/webapp/target/docker/stage/skema/text_reading/webapp/app/lib/org.clulab.climatechange*
git commit --amend --no-edit
git push --force
Expand Down

0 comments on commit f52c779

Please sign in to comment.