Skip to content

Commit

Permalink
Update compile_table.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
b-rodrigues authored Feb 20, 2024
1 parent 80f5751 commit 0bbefd6
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/compile_table.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,28 +33,6 @@ jobs:
- name: Build development environment
run: |
nix-build
- name: Check if previous runs exists
id: runs-exist
run: git ls-remote --exit-code --heads origin targets-runs
continue-on-error: true

- name: Checkout previous run
if: steps.runs-exist.outcome == 'success'
uses: actions/checkout@v2
with:
ref: targets-runs
fetch-depth: 1
path: .targets-runs

- name: Restore output files from the previous run
if: steps.runs-exist.outcome == 'success'
run: |
nix-shell default.nix --run "Rscript -e 'for (dest in scan(\".targets-runs/.targets-files\", what = character())) {
source <- file.path(\".targets-runs\", dest)
if (!file.exists(dirname(dest))) dir.create(dirname(dest), recursive = TRUE)
if (file.exists(source)) file.rename(source, dest)
}'"
- name: Compile website
run: |
Expand Down

0 comments on commit 0bbefd6

Please sign in to comment.