Skip to content

Commit

Permalink
cache nextflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Juke34 authored Jan 15, 2025
1 parent 560b06b commit d21a371
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,17 @@ jobs:
- name: Install openjdk
if: ${{ steps.cache-openjdk.outputs.cache-hit != 'true' }}
run: sudo apt-get install openjdk-11-jdk

- name: Cache nextflow
id: cache-nextflow
uses: actions/cache@v3
with:
path: /usr/local/bin/nextflow
key: ${{ runner.os }}-nextflow
restore-keys: |
${{ runner.os }}-nextflow
- name: Install Nextflox
if: ${{ steps.cache-nextflow.outputs.cache-hit != 'true' }}
run: curl -s https://get.nextflow.io | bash && mv nextflow /usr/local/bin && chmod +x /usr/local/bin/nextflow

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
Expand Down

0 comments on commit d21a371

Please sign in to comment.