Skip to content

Commit

Permalink
sudo for download and copy
Browse files Browse the repository at this point in the history
  • Loading branch information
SamueleSoraggi committed Dec 12, 2024
1 parent ff96c2b commit 2c33ce6
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions .github/workflows/render_page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,18 @@ jobs:
if: runner.os == 'Linux'
run: sudo mkdir -p /work/Intro_to_bulkRNAseq/

- name: Install R
uses: r-lib/actions/setup-r@v2

- name: Install R Dependencies
uses: r-lib/actions/setup-renv@v2

- name: make work folder with data
if: runner.os == 'Linux'
run: sudo mkdir -p /work/Intro_to_bulkRNAseq/

- name: Get data
if: runner.os == 'Linux'
run: |
wget -O /work/Intro_to_bulkRNAseq/Data.zip https://zenodo.org/records/12090853/files/Data.zip?download=1
unzip /work/Intro_to_bulkRNAseq/Data.zip -d /work/Intro_to_bulkRNAseq/
rm /work/Intro_to_bulkRNAseq/Data.zip
sudo wget -O /work/Intro_to_bulkRNAseq/Data.zip https://zenodo.org/records/12090853/files/Data.zip?download=1
sudo unzip /work/Intro_to_bulkRNAseq/Data.zip -d /work/Intro_to_bulkRNAseq/
sudo rm /work/Intro_to_bulkRNAseq/Data.zip
- name: Install R
uses: r-lib/actions/setup-r@v2

# - name: Install R Dependencies
# uses: r-lib/actions/setup-renv@v2

- name: Install R packages
if: runner.os == 'Linux'
Expand Down

0 comments on commit 2c33ce6

Please sign in to comment.