small amendments in naming

master
Martin Scheidt 2022-04-07 10:27:45 +02:00
parent a8a050b184
commit 10feea7259
1 changed files with 4 additions and 4 deletions

View File

@ -134,7 +134,7 @@ jobs:
# 1. download artifact in folder artifact/ and move it one level up # 1. download artifact in folder artifact/ and move it one level up
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v3
- run: | - run: |
mv ./artifact/tikz-trackschematic-*.zip ./ mv ./artifact/tikz-trackschematic-${{needs.create_package.outputs.version}}.zip ./
# 2. install zenodraft # 2. install zenodraft
- name: "install zenodraft" - name: "install zenodraft"
@ -154,8 +154,8 @@ jobs:
echo "::set-output name=doi::$(zenodraft deposition show prereserved $ID)" echo "::set-output name=doi::$(zenodraft deposition show prereserved $ID)"
update_citation: update_citation:
needs: publish_zenodo needs: [create_package, publish_zenodo]
name: "updates CITATION.cff" name: "updating CITATION.cff"
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
# 1. checkout the repo # 1. checkout the repo
@ -173,6 +173,6 @@ jobs:
push-branch: 'master' push-branch: 'master'
force-add: 'true' force-add: 'true'
files: CITATION.cff files: CITATION.cff
commit-message: 'updated DOI (via github action)' commit-message: 'DOI updated to ${{needs.create_package.outputs.version}} (via github action)'
name: Martin Scheidt name: Martin Scheidt
email: m.scheidt@tu-bs.de email: m.scheidt@tu-bs.de