Skip to content

Commit

Permalink
ci: add special downloader for github action
Browse files Browse the repository at this point in the history
  • Loading branch information
FOBshippingpoint committed Nov 19, 2023
1 parent 403c029 commit 0bbf8f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update-csv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

- name: Download village shp
if: steps.cache-village-shp.outputs.cache-hit != 'true'
run: Rscript R/utils/village_shp_downloader.R
run: Rscript R/utils/github_action_village_shp_downloader.R

- name: Create csv
run: Rscript run_all.R
Expand Down
2 changes: 2 additions & 0 deletions R/utils/github_action_village_shp_downloader.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
options(download.file.method = "libcurl")
source("R/utils/github_action_village_shp_downloader.R")

0 comments on commit 0bbf8f5

Please sign in to comment.