Skip to content

Commit

Permalink
Merge pull request #63 from terrierteam/gha-upgrade
Browse files Browse the repository at this point in the history
upgrade actions
  • Loading branch information
cmacdonald authored Nov 28, 2023
2 parents 2d14799 + 9b0baf1 commit 5772d08
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ jobs:
- uses: actions/checkout@v2

- name: Setup java
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
architecture: ${{ matrix.architecture }}
distribution: 'zulu'

- name: Setup conda
uses: s-weigand/setup-conda@v1
Expand All @@ -34,13 +35,13 @@ jobs:

# follows https://medium.com/ai2-blog/python-caching-in-github-actions-e9452698e98d
- name: Loading Python & dependencies from cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: /usr/share/miniconda/lib/python3.8/site-packages/
key: /usr/share/miniconda/lib/python3.8/site-packages/-${{ hashFiles('requirements.txt') }}

- name: Loading Torch models from cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: /home/runner/.cache/
key: uog44k_only
Expand Down

0 comments on commit 5772d08

Please sign in to comment.