From 037e3ef45f7cd472dfbd656e04d8f6007fe5bd5e Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Sun, 27 Nov 2022 16:32:19 +0100 Subject: [PATCH] CI: Update citation.yml file --- .github/workflows/citation.yml | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/.github/workflows/citation.yml b/.github/workflows/citation.yml index dbec9dd9d..fdab6859e 100644 --- a/.github/workflows/citation.yml +++ b/.github/workflows/citation.yml @@ -4,11 +4,10 @@ on: push: paths: - CITATION.cff - workflow_dispatch: pull_request: paths: - CITATION.cff - workflow_dispatch: + workflow_dispatch: name: CITATION.cff jobs: @@ -17,23 +16,15 @@ jobs: name: Validate CITATION.cff env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} - RSPM: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest" steps: - name: Checkout - uses: actions/checkout@v2 - - # This is needed for workflows running on - # ubuntu-20.04 or later - - name: Install V8 - if: runner.os == 'Linux' - run: | - sudo apt-get install -y libv8-dev + uses: actions/checkout@v3 - name: Validate CITATION.cff uses: dieghernan/cff-validator@main - - # Upload artifact - - uses: actions/upload-artifact@v2 + # Upload artifact in case of failure + - name: Update artifact + uses: actions/upload-artifact@v3 if: failure() with: name: citation-cff-errors