1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-13 19:50:34 +00:00

CI: Update citation.yml file

This commit is contained in:
Carles Fernandez 2022-11-27 16:32:19 +01:00
parent bed01b000b
commit 037e3ef45f
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -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