Skip to content

Commit

Permalink
alternative aws download
Browse files Browse the repository at this point in the history
  • Loading branch information
rcannood committed Sep 3, 2024
1 parent 1dcc82c commit 65810bc
Showing 1 changed file with 20 additions and 16 deletions.
36 changes: 20 additions & 16 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ jobs:
- name: Check out repository
uses: actions/checkout@v4

- name: Install AWS CLI
uses: unfor19/install-aws-cli-action@v1

- name: Set up specific version of Python
uses: actions/setup-python@v5
Expand All @@ -30,6 +28,26 @@ jobs:
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2

# - name: Install AWS CLI
# uses: unfor19/install-aws-cli-action@v1
- name: Cache usecase_data
uses: actions/cache@v2
with:
path: |
notebooks/usecase_data
key: usecase_data_${{ runner.os }}

- name: Make sure data is available
run: |
if [[ ! -f notebooks/usecase_data/sc_counts_reannotated_with_counts.h5ad ]]; then
wget https://openproblems-bio.s3.amazonaws.com/public/neurips-2023-competition/sc_counts_reannotated_with_counts.h5ad \
-O notebooks/usecase_data/sc_counts_reannotated_with_counts.h5ad
fi
# aws s3 cp \
# --no-sign-request \
# s3://openproblems-bio/public/neurips-2023-competition/sc_counts_reannotated_with_counts.h5ad \
# notebooks/usecase_data/sc_counts_reannotated_with_counts.h5ad
# attempt with pixi:

# - name: Install pixi
Expand Down Expand Up @@ -59,20 +77,6 @@ jobs:
path: |
_freeze
key: renv_${{ runner.os }}

- name: Cache usecase_data
uses: actions/cache@v2
with:
path: |
notebooks/usecase_data
key: usecase_data_${{ runner.os }}

- name: Make sure data is available
run: |
aws s3 cp \
--no-sign-request \
s3://openproblems-bio/public/neurips-2023-competition/sc_counts_reannotated_with_counts.h5ad \
notebooks/usecase_data/sc_counts_reannotated_with_counts.h5ad

- name: Render slides
run: |
Expand Down

0 comments on commit 65810bc

Please sign in to comment.