From 4c882b4d917d9bde427c6b17cfa9674530ed8997 Mon Sep 17 00:00:00 2001 From: Ben Young Date: Mon, 4 Nov 2024 16:15:28 -0500 Subject: [PATCH] attempt to fix artifact conflict --- .github/workflows/save-raw-data.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/save-raw-data.yaml b/.github/workflows/save-raw-data.yaml index df72c03..87db949 100644 --- a/.github/workflows/save-raw-data.yaml +++ b/.github/workflows/save-raw-data.yaml @@ -15,12 +15,12 @@ jobs: matrix: config: - {os: ubuntu-latest, r: 'release'} - script-run: - - data-raw/BEAData.R - - data-raw/CensusData.R - - data-raw/EIAData.R - - data-raw/FAFData.R - - data-raw/USASpendingData.R + script-run: # all in data-raw/ + - BEAData.R + - CensusData.R + - EIAData.R + - FAFData.R + - USASpendingData.R data-year: - 2012 - 2013 @@ -67,7 +67,7 @@ jobs: devtools::load_all() year <- ${{ matrix.data-year }} options(timeout = 1000) - source("${{ matrix.script-run }}") + source("data-raw/${{ matrix.script-run }}") shell: Rscript {0} # Upload .rds files @@ -75,7 +75,7 @@ jobs: uses: actions/upload-artifact@v4 with: # Artifact name - name: data and metadata + name: data and metadata - ${{ matrix.script-run }} - ${{ matrix.data-year }} # A file, directory or wildcard patter that describes what to upload path: "data/*.rds" if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn` @@ -86,7 +86,7 @@ jobs: uses: actions/upload-artifact@v4 with: # Artifact name - name: data and metadata + name: data and metadata - ${{ matrix.script-run }} - ${{ matrix.data-year }} # A file, directory or wildcard patter that describes what to upload path: "inst/extdata/metadata/*.json" if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`