amended GitHub action release

master
Martin Scheidt 2022-04-06 17:16:28 +02:00
parent 51d25db670
commit a8a050b184
1 changed files with 6 additions and 3 deletions

View File

@ -111,7 +111,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 ctan-o-mat # 2. install ctan-o-mat
- name: "setup TeX Live (via paolobrasolin)" - name: "setup TeX Live (via paolobrasolin)"
@ -158,12 +158,14 @@ jobs:
name: "updates CITATION.cff" name: "updates CITATION.cff"
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
# 1. checkout the repo for zenodraft/action@0.10.0 to work # 1. checkout the repo
- name: "checkout" - name: "checkout"
uses: actions/checkout@v2 uses: actions/checkout@v2
# 2. update CITATION.cff
- run: ./build.sh --update-cite ${{needs.publish_zenodo.outputs.doi}} - run: ./build.sh --update-cite ${{needs.publish_zenodo.outputs.doi}}
# 3. push the change back to master
- name: push - name: push
uses: github-actions-x/commit@v2.8 uses: github-actions-x/commit@v2.8
with: with:
@ -172,4 +174,5 @@ jobs:
force-add: 'true' force-add: 'true'
files: CITATION.cff files: CITATION.cff
commit-message: 'updated DOI (via github action)' commit-message: 'updated DOI (via github action)'
rebase: 'true' # pull and rebase before commit name: Martin Scheidt
email: m.scheidt@tu-bs.de