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:
parent
bed01b000b
commit
037e3ef45f
19
.github/workflows/citation.yml
vendored
19
.github/workflows/citation.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user